Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.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.001166/0.001166, 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.001354/0.001354, allocations: 165.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.8878/0.8878, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.743/1.743, allocations: 377.9 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_12_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_12_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.9809 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.2e-05, allocations: 2.281 kB / 0.9809 GB, free: 1.488 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002562/0.002584, allocations: 2.129 MB / 0.983 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5445/0.547, allocations: 132.4 MB / 1.112 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.5472, allocations: 6.5 kB / 1.112 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0008439/0.5481, allocations: 0.7822 MB / 1.113 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000744/0.5488, allocations: 0.5309 MB / 1.114 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008402/0.5497, allocations: 353.5 kB / 1.114 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005777/0.5502, allocations: 0.5907 MB / 1.114 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.5504, allocations: 58.64 kB / 1.115 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008676/0.5513, allocations: 423.8 kB / 1.115 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003906/0.5517, allocations: 0.5026 MB / 1.115 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.5517, allocations: 25.19 kB / 1.115 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.5521, allocations: 289.2 kB / 1.116 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.5523, allocations: 195.6 kB / 1.116 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.5524, allocations: 138.8 kB / 1.116 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006932/0.5531, allocations: 0.7618 MB / 1.117 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.5531, allocations: 0 / 1.117 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5531, allocations: 2.875 kB / 1.117 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.5531, allocations: 0 / 1.117 GB, free: 6.734 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001071/0.5542, allocations: 1.03 MB / 1.118 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.5542, allocations: 9.781 kB / 1.118 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.671e-05/0.5543, allocations: 53.91 kB / 1.118 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008555/0.5551, allocations: 213.2 kB / 1.118 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.5555, allocations: 443.9 kB / 1.119 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.5555, allocations: 13.58 kB / 1.119 GB, free: 5.551 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.5556, allocations: 17.16 kB / 1.119 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.5561, allocations: 339.3 kB / 1.119 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.5561, allocations: 0 / 1.119 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.5562, allocations: 10.25 kB / 1.119 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.5562, allocations: 8.562 kB / 1.119 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007015/0.5569, allocations: 360.1 kB / 1.119 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.5582, allocations: 1.043 MB / 1.12 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.5588, allocations: 400.2 kB / 1.121 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.5592, allocations: 200.8 kB / 1.121 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.5592, allocations: 14.92 kB / 1.121 GB, free: 4.43 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004773/0.5597, allocations: 309.5 kB / 1.121 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.5597, allocations: 0 / 1.121 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30): time 0.00433/0.564, allocations: 1.175 MB / 1.122 GB, free: 3.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.5641, allocations: 81.45 kB / 1.122 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.5653, allocations: 1.394 MB / 1.124 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.5653, allocations: 33.08 kB / 1.124 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.5656, allocations: 370 kB / 1.124 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.036e-05/0.5656, allocations: 105.3 kB / 1.124 GB, free: 2.836 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.5657, allocations: 66.88 kB / 1.124 GB, free: 2.789 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.5658, allocations: 321.2 kB / 1.125 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.5662, allocations: 177.4 kB / 1.125 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.5666, allocations: 288.9 kB / 1.125 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007269/0.5673, allocations: 411.4 kB / 1.125 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5673, allocations: 0 / 1.125 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002034/0.5694, allocations: 0.7352 MB / 1.126 GB, free: 1.559 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.5694, allocations: 9.438 kB / 1.126 GB, free: 1.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5694, allocations: 1.156 kB / 1.126 GB, free: 1.555 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005599/0.57, allocations: 177.3 kB / 1.126 GB, free: 1.469 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.5701, allocations: 64.42 kB / 1.126 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003981/0.5741, allocations: 2.181 MB / 1.128 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.5744, allocations: 37.61 kB / 1.129 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.5744, allocations: 20.81 kB / 1.129 GB, free: 15.66 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003501/0.5748, allocations: 307.4 kB / 1.129 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/0.5749, allocations: 85 kB / 1.129 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.5772, allocations: 0.8481 MB / 1.13 GB, free: 14.97 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5772, allocations: 4.531 kB / 1.13 GB, free: 14.97 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.5772, allocations: 3.984 kB / 1.13 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.5772, allocations: 1 kB / 1.13 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.5777, allocations: 0.5235 MB / 1.13 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5777, allocations: 7.938 kB / 1.13 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.5779, allocations: 56.62 kB / 1.13 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004891/0.5783, allocations: 183.2 kB / 1.13 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.5784, allocations: 12.42 kB / 1.131 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003785/0.5822, allocations: 2.173 MB / 1.133 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5822, allocations: 1.344 kB / 1.133 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.5843, allocations: 0.8067 MB / 1.133 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/0.5844, allocations: 82.05 kB / 1.133 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.5844, allocations: 11.11 kB / 1.134 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.5846, allocations: 21.73 kB / 1.134 GB, free: 12.19 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.5847, allocations: 38.88 kB / 1.134 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.5847, allocations: 22.92 kB / 1.134 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0007439/0.5855, allocations: 1.04 MB / 1.135 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4e-08/0.5855, allocations: 0 / 1.135 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003887/0.5859, allocations: 116.9 kB / 1.135 GB, free: 11.65 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003027/0.5889, allocations: 1.703 MB / 1.136 GB, free: 10.56 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.5899, allocations: 0.5602 MB / 1.137 GB, free: 10.23 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5899, allocations: 3 kB / 1.137 GB, free: 10.23 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004853/0.5904, allocations: 368.3 kB / 1.137 GB, free: 9.992 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.5909, allocations: 132.2 kB / 1.137 GB, free: 9.918 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008461/0.5993, allocations: 6.477 MB / 1.144 GB, free: 6.211 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.5996, allocations: 382.8 kB / 1.144 GB, free: 5.992 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002555/0.5998, allocations: 90.56 kB / 1.144 GB, free: 5.949 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.6001, allocations: 259.2 kB / 1.144 GB, free: 5.723 MB / 0.9792 GB Notification: Performance of SimCode: time 1.313e-06/0.6001, allocations: 4 kB / 1.144 GB, free: 5.719 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03223/0.6323, allocations: 19.6 MB / 1.164 GB, free: 5.211 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/8.9, allocations: 11.5 kB / 1.164 GB, free: 5.207 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv --start-time 0 --stop-time 2300 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.92 Buildings_12_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.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: 12.998244259506464]