Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.0008674/0.0008674, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001001/0.001001, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9315/0.9315, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.681/1.681, allocations: 359 MB / 0.6037 GB, free: 11.11 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.Linear1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.9505 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.947e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001532/0.001551, allocations: 1.243 MB / 0.9517 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005675/0.002119, allocations: 403.2 kB / 0.9521 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.002143, allocations: 0 / 0.9521 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.002161, allocations: 0 / 0.9521 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.539e-05/0.002196, allocations: 4 kB / 0.9521 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.00268, allocations: 115.5 kB / 0.9522 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.117e-05/0.002741, allocations: 19.92 kB / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.348e-05/0.002774, allocations: 0 / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.002809, allocations: 11.98 kB / 0.9522 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.273e-05/0.002831, allocations: 3.938 kB / 0.9522 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.002846, allocations: 7.984 kB / 0.9522 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.003031, allocations: 131.7 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.003045, allocations: 7.984 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.003067, allocations: 8 kB / 0.9524 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.003222, allocations: 111.7 kB / 0.9525 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.003224, allocations: 0 / 0.9525 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003225, allocations: 0 / 0.9525 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.327e-06/0.003228, allocations: 0 / 0.9525 GB, free: 1.477 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003647/0.003593, allocations: 305.6 kB / 0.9528 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.003634, allocations: 15.97 kB / 0.9528 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.181e-05/0.003686, allocations: 34.69 kB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.297e-05/0.003709, allocations: 4.891 kB / 0.9528 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.227e-05/0.003771, allocations: 113.7 kB / 0.9529 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.003788, allocations: 4.375 kB / 0.9529 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.003798, allocations: 8.375 kB / 0.9529 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.414e-05/0.003882, allocations: 38.25 kB / 0.953 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.003888, allocations: 192 / 0.953 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.003896, allocations: 384 / 0.953 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.003901, allocations: 4.125 kB / 0.953 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.303e-05/0.003924, allocations: 11.98 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.00416, allocations: 208.1 kB / 0.9532 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.254e-05/0.004233, allocations: 34.5 kB / 0.9532 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/0.004255, allocations: 16.86 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.004263, allocations: 0 / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.004382, allocations: 67.42 kB / 0.9533 GB, free: 496 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.004383, allocations: 0 / 0.9533 GB, free: 496 kB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0001587/0.004542, allocations: 81.75 kB / 0.9534 GB, free: 408 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.004571, allocations: 55.41 kB / 0.9534 GB, free: 340 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.618e-05/0.004617, allocations: 97.84 kB / 0.9535 GB, free: 232 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.004627, allocations: 33.64 kB / 0.9535 GB, free: 192 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.409e-05/0.004651, allocations: 84.12 kB / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.004666, allocations: 19.89 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.004693, allocations: 21.72 kB / 0.9537 GB, free: 56 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.004768, allocations: 318.8 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.395e-05/0.004802, allocations: 12.06 kB / 0.954 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.88e-05/0.004831, allocations: 39.42 kB / 0.954 GB, free: 15.67 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 8.423e-05/0.004915, allocations: 63.36 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.004917, allocations: 0 / 0.9541 GB, free: 15.6 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=8) (initialization): time 0.0002158/0.005132, allocations: 109.1 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.005143, allocations: 8 kB / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005148, allocations: 0 / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.669e-05/0.005215, allocations: 20.84 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.487e-05/0.00526, allocations: 4 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006487/0.005908, allocations: 1.371 MB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/0.005924, allocations: 4.188 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.005932, allocations: 11.95 kB / 0.9556 GB, free: 13.95 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: 4 * 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 (7): * Single equations (assignments): 6 * 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 0.0001133/0.006045, allocations: 120.9 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-06/0.006053, allocations: 3.938 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.26e-05/0.006066, allocations: 7.906 kB / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.006067, allocations: 3.938 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.006068, allocations: 0 / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006071, allocations: 0 / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.006235, allocations: 269.7 kB / 0.956 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.006236, allocations: 4.062 kB / 0.956 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-05/0.006249, allocations: 15.92 kB / 0.956 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.006251, allocations: 0 / 0.956 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.006258, allocations: 4 kB / 0.956 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.006259, allocations: 0 / 0.956 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006259, allocations: 0 / 0.956 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.651e-05/0.006336, allocations: 159.4 kB / 0.9561 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-06/0.006341, allocations: 11.98 kB / 0.9561 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-06/0.006347, allocations: 0 / 0.9561 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.857e-05/0.006375, allocations: 0 / 0.9561 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.006393, allocations: 4 kB / 0.9561 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.006397, allocations: 4 kB / 0.9561 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.354e-05/0.006421, allocations: 87.2 kB / 0.9562 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006421, allocations: 0 / 0.9562 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000225/0.006646, allocations: 35.88 kB / 0.9563 GB, free: 13.16 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 (5): * Single equations (assignments): 3 * 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.000453/0.007099, allocations: 0.7861 MB / 0.957 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.007289, allocations: 142.9 kB / 0.9572 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.007291, allocations: 0 / 0.9572 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.285e-05/0.007313, allocations: 19.92 kB / 0.9572 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.007445, allocations: 96 / 0.9572 GB, free: 12.18 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.000823/0.008268, allocations: 1.364 MB / 0.9585 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.085e-05/0.008309, allocations: 63.34 kB / 0.9586 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.286e-05/0.008322, allocations: 0 / 0.9586 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.008345, allocations: 16.5 kB / 0.9586 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of SimCode: time 3.7e-07/0.008346, allocations: 0 / 0.9586 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.02522, allocations: 2.768 MB / 0.9613 GB, free: 7.98 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.435/7.461, allocations: 14.75 kB / 0.9613 GB, free: 7.969 MB / 0.9167 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_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_Linear1D.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.600524560548365]