Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 186 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.332 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.363/2.363, allocations: 443.5 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 63.89 kB / 1.059 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.262, allocations: 160.7 MB / 1.216 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002786/0.2648, allocations: 1.565 MB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.2661, allocations: 0.7879 MB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.615e-05/0.2662, allocations: 0 / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.614e-05/0.2662, allocations: 19.86 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.284e-05/0.2663, allocations: 11.81 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.2668, allocations: 131.6 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.267, allocations: 103.6 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.279e-05/0.2671, allocations: 8 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.2672, allocations: 47.78 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.211e-05/0.2673, allocations: 51.75 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.2673, allocations: 8 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.2675, allocations: 107.9 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.2676, allocations: 23.91 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.2676, allocations: 39.78 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.2679, allocations: 167.6 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2679, allocations: 0 / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2679, allocations: 0 / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2679, allocations: 0 / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007621/0.2687, allocations: 0.4999 MB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.2687, allocations: 12.03 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.2687, allocations: 46.73 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.2688, allocations: 12.84 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.2689, allocations: 178.5 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.269, allocations: 12.31 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.269, allocations: 4.375 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.2692, allocations: 89.69 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.2692, allocations: 0 / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2692, allocations: 0 / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.2692, allocations: 4 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.2693, allocations: 51.97 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.2699, allocations: 340.5 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.2701, allocations: 70.67 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.027e-05/0.2702, allocations: 44.83 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.2702, allocations: 0 / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.2704, allocations: 103.4 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 3.156e-06/0.2704, allocations: 3.984 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0004213/0.2708, allocations: 173.5 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.2709, allocations: 63.39 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.271, allocations: 137.8 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.271, allocations: 25.7 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.2711, allocations: 100.1 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.2711, allocations: 27.75 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.2712, allocations: 33.7 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2713, allocations: 326.8 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.93e-05/0.2714, allocations: 31.92 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.2715, allocations: 73.12 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.2716, allocations: 101.1 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2716, allocations: 0 / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002501/0.2719, allocations: 137.5 kB / 1.221 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.2719, allocations: 4 kB / 1.221 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2719, allocations: 4 kB / 1.221 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2719, allocations: 0 / 1.221 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.272, allocations: 19.92 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.272, allocations: 4 kB / 1.221 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2721, allocations: 24.03 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.2722, allocations: 4 kB / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.555e-05/0.2723, allocations: 125.8 kB / 1.221 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.2723, allocations: 11.95 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.2726, allocations: 174.2 kB / 1.221 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2726, allocations: 4 kB / 1.221 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2726, allocations: 0 / 1.221 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2726, allocations: 0 / 1.221 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006075/0.2732, allocations: 462.3 kB / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2732, allocations: 0 / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.669e-05/0.2733, allocations: 11.98 kB / 1.222 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.2733, allocations: 3.938 kB / 1.222 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.2733, allocations: 12 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2733, allocations: 3.938 kB / 1.222 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2733, allocations: 144 / 1.222 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.2737, allocations: 270.9 kB / 1.222 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.2737, allocations: 89.05 kB / 1.222 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.2737, allocations: 0 / 1.222 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.2739, allocations: 15.92 kB / 1.222 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.2739, allocations: 11.98 kB / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.2739, allocations: 8 kB / 1.222 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.655e-05/0.274, allocations: 109.5 kB / 1.222 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.274, allocations: 4 kB / 1.222 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002966/0.2743, allocations: 47.83 kB / 1.222 GB, free: 8.41 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008327/0.2751, allocations: 0.8341 MB / 1.223 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.2754, allocations: 95.88 kB / 1.223 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2754, allocations: 0 / 1.223 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.2755, allocations: 47.92 kB / 1.223 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.2758, allocations: 27.84 kB / 1.223 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.2775, allocations: 1.69 MB / 1.225 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.2778, allocations: 0.7002 MB / 1.226 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.461e-05/0.2779, allocations: 8.547 kB / 1.226 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/0.2779, allocations: 39.7 kB / 1.226 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.2779, allocations: 7.938 kB / 1.226 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.3025, allocations: 3.477 MB / 1.229 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.105/7.408, allocations: 3.391 kB / 1.229 GB, free: 1.441 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable lig.occ in file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.csv. Warning: Get data of variable lig.occ from file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.csv failed! Error: Could not read variable lig.on in file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.csv. Warning: Get data of variable lig.on from file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.688165271996695]