Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009695/0.0009695, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009079/0.0009079, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8961/0.8961, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.725/1.725, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.9505 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.189e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001622/0.001644, allocations: 1.247 MB / 0.9517 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008574/0.002501, allocations: 443 kB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.002528, allocations: 0 / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.002546, allocations: 0 / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.658e-05/0.002583, allocations: 0 / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.003056, allocations: 131.3 kB / 0.9522 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.017e-05/0.003116, allocations: 19.92 kB / 0.9522 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.003152, allocations: 8 kB / 0.9523 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.554e-05/0.003187, allocations: 11.98 kB / 0.9523 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.644e-05/0.003214, allocations: 15.91 kB / 0.9523 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.003228, allocations: 4 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.003429, allocations: 143.6 kB / 0.9524 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.003444, allocations: 8 kB / 0.9524 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.003468, allocations: 7.984 kB / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.00364, allocations: 115.7 kB / 0.9525 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.003643, allocations: 4 kB / 0.9526 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.372e-06/0.003644, allocations: 0 / 0.9526 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.003649, allocations: 0 / 0.9526 GB, free: 1.371 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003527/0.004001, allocations: 311.8 kB / 0.9528 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.004038, allocations: 12.03 kB / 0.9529 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.197e-05/0.00409, allocations: 42.69 kB / 0.9529 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.052e-05/0.00411, allocations: 4.938 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.51e-05/0.004175, allocations: 105.8 kB / 0.953 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.004193, allocations: 8.312 kB / 0.953 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.0042, allocations: 384 / 0.953 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.951e-05/0.00429, allocations: 54.17 kB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.004296, allocations: 192 / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.004304, allocations: 12.38 kB / 0.9531 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.004309, allocations: 4.125 kB / 0.9531 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.536e-05/0.004335, allocations: 4 kB / 0.9531 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.004578, allocations: 220 kB / 0.9533 GB, free: 500 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.255e-05/0.00463, allocations: 26.58 kB / 0.9533 GB, free: 464 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.00466, allocations: 16.84 kB / 0.9533 GB, free: 444 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.004668, allocations: 3.938 kB / 0.9533 GB, free: 440 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/0.004789, allocations: 71.45 kB / 0.9534 GB, free: 356 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.00479, allocations: 7.938 kB / 0.9534 GB, free: 348 kB / 0.9011 GB Notification: Performance of matching and sorting (n=6): time 0.0001646/0.004954, allocations: 77.69 kB / 0.9535 GB, free: 264 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.00499, allocations: 51.41 kB / 0.9535 GB, free: 200 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.531e-05/0.005045, allocations: 105.8 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.005056, allocations: 33.64 kB / 0.9537 GB, free: 44 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.005097, allocations: 84.09 kB / 0.9538 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.005117, allocations: 19.89 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.005145, allocations: 21.72 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.005222, allocations: 318.8 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.00524, allocations: 8 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/0.005274, allocations: 44.28 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 9.449e-05/0.005368, allocations: 76.22 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.00537, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Warning: The linear system: 1 : $PRE.$outputAlias_y = $outputAlias_y 2 : $outputAlias_y = $PRE.$outputAlias_y [ -1.0 , 1.0 ; 1.0 , -1.0 ] * [ $outputAlias_y ; $PRE.$outputAlias_y ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable $PRE.$outputAlias_y since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002375/0.005608, allocations: 113.2 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.005621, allocations: 6.344 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.005626, allocations: 4.094 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.518e-05/0.005701, allocations: 20.84 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.457e-05/0.005756, allocations: 11.94 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007029/0.006459, allocations: 1.366 MB / 0.9557 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.00648, allocations: 7.922 kB / 0.9557 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.006487, allocations: 4.5 kB / 0.9557 GB, free: 13.78 MB / 0.9167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: y = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (curSeed,$PRE.curSeed,$whenCondition1,y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.218e-05/0.006559, allocations: 118 kB / 0.9558 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-06/0.006568, allocations: 11.89 kB / 0.9558 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.258e-05/0.006581, allocations: 4.312 kB / 0.9558 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.006583, allocations: 4 kB / 0.9558 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.006585, allocations: 3.938 kB / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.006587, allocations: 0 / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.006775, allocations: 289.6 kB / 0.9561 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.006777, allocations: 0 / 0.9561 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.006791, allocations: 4 kB / 0.9561 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.006793, allocations: 0 / 0.9561 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.006802, allocations: 8 kB / 0.9561 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.006803, allocations: 0 / 0.9561 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.006804, allocations: 4 kB / 0.9561 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.246e-05/0.006897, allocations: 171.4 kB / 0.9563 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-06/0.006902, allocations: 11.89 kB / 0.9563 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-06/0.006908, allocations: 0 / 0.9563 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.95e-05/0.006938, allocations: 0 / 0.9563 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.006958, allocations: 7.984 kB / 0.9563 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.006964, allocations: 0 / 0.9563 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.626e-05/0.00699, allocations: 83.28 kB / 0.9564 GB, free: 13 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.00699, allocations: 0 / 0.9564 GB, free: 13 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002426/0.007233, allocations: 47.86 kB / 0.9564 GB, free: 12.95 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005298/0.007763, allocations: 0.7936 MB / 0.9572 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.007977, allocations: 150.5 kB / 0.9574 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007978, allocations: 0 / 0.9574 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.008008, allocations: 20.12 kB / 0.9574 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.008157, allocations: 11.94 kB / 0.9574 GB, free: 11.96 MB / 0.9167 GB Warning: The linear system: 1 : $PRE.$outputAlias_y = $outputAlias_y 2 : $outputAlias_y = $PRE.$outputAlias_y [ 1.0 , -1.0 ; -1.0 , 1.0 ] * [ $PRE.$outputAlias_y ; $outputAlias_y ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable $outputAlias_y since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.009488, allocations: 1.375 MB / 0.9587 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.913e-05/0.009537, allocations: 71.34 kB / 0.9588 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.682e-05/0.009554, allocations: 0 / 0.9588 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.009582, allocations: 20.44 kB / 0.9588 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of SimCode: time 6.71e-07/0.009583, allocations: 0 / 0.9588 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.03172, allocations: 2.925 MB / 0.9617 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/7.756, allocations: 10.67 kB / 0.9617 GB, free: 7.551 MB / 0.9167 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.982925433665514]