Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.001157/0.001157, allocations: 112.9 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.001161/0.001161, allocations: 189.9 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.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] 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.33/2.33, allocations: 443.5 MB / 0.7304 GB, free: 14.13 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.Love1998Light2,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 67.88 kB / 1.059 GB, free: 1.051 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2594, allocations: 160.7 MB / 1.216 GB, free: 24 kB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002568/0.262, allocations: 1.523 MB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.2632, allocations: 0.7837 MB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.264e-05/0.2632, allocations: 0 / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.2633, allocations: 7.875 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.184e-05/0.2633, allocations: 15.84 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.2638, allocations: 127.6 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.2639, allocations: 87.7 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.012e-05/0.264, allocations: 4 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.036e-05/0.2641, allocations: 43.84 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.814e-05/0.2641, allocations: 43.83 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.2641, allocations: 4 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.2643, allocations: 103.8 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.69e-05/0.2644, allocations: 23.91 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.2644, allocations: 35.8 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.2646, allocations: 151.8 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2646, allocations: 0 / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2646, allocations: 0 / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2646, allocations: 0 / 1.218 GB, free: 13.05 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007003/0.2653, allocations: 466.4 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.2654, allocations: 12.02 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.727e-05/0.2654, allocations: 34.75 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.2654, allocations: 8.891 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.2656, allocations: 176.2 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.2656, allocations: 8.359 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.2656, allocations: 4.375 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.2658, allocations: 81.72 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2658, allocations: 7.984 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.2658, allocations: 4 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.2658, allocations: 3.938 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.2659, allocations: 43.91 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.2664, allocations: 324.7 kB / 1.22 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.2666, allocations: 58.55 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/0.2666, allocations: 32.94 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.2667, allocations: 3.938 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.2668, allocations: 87.36 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.2668, allocations: 0 / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0003671/0.2672, allocations: 157.5 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.2672, allocations: 59.41 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2674, allocations: 133.8 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.2674, allocations: 29.7 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.2674, allocations: 88.38 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.2675, allocations: 23.94 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.2675, allocations: 33.7 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2676, allocations: 326.8 kB / 1.221 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-05/0.2677, allocations: 27.98 kB / 1.221 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.2678, allocations: 69.06 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.268, allocations: 101.1 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.268, allocations: 0 / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002353/0.2682, allocations: 129.9 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2682, allocations: 4 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2682, allocations: 4 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2682, allocations: 3.984 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.2683, allocations: 23.98 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2684, allocations: 4 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.64e-05/0.2685, allocations: 11.95 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.2685, allocations: 11.98 kB / 1.221 GB, free: 10.22 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.42e-05/0.2686, allocations: 121.8 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.2686, allocations: 7.953 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.2689, allocations: 149.9 kB / 1.221 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.2689, allocations: 4 kB / 1.221 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.2689, allocations: 0 / 1.221 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2689, allocations: 96 / 1.221 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005431/0.2694, allocations: 442.2 kB / 1.222 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2694, allocations: 0 / 1.222 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.2695, allocations: 8 kB / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.2695, allocations: 4 kB / 1.222 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2695, allocations: 3.984 kB / 1.222 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2695, allocations: 7.938 kB / 1.222 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2695, allocations: 0 / 1.222 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.2698, allocations: 223.4 kB / 1.222 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.2698, allocations: 89.05 kB / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.2699, allocations: 4 kB / 1.222 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.27, allocations: 15.92 kB / 1.222 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.27, allocations: 11.98 kB / 1.222 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.27, allocations: 8 kB / 1.222 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.321e-05/0.2701, allocations: 103 kB / 1.222 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.2701, allocations: 0 / 1.222 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002769/0.2704, allocations: 43.88 kB / 1.222 GB, free: 8.898 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0008432/0.2712, allocations: 0.8213 MB / 1.223 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.2714, allocations: 83.83 kB / 1.223 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2714, allocations: 0 / 1.223 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.2715, allocations: 43.97 kB / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.2718, allocations: 20.12 kB / 1.223 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.2735, allocations: 1.595 MB / 1.225 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.2737, allocations: 0.6962 MB / 1.225 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.252e-05/0.2738, allocations: 12.42 kB / 1.225 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.2738, allocations: 27.44 kB / 1.225 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of SimCode: time 2.81e-07/0.2738, allocations: 0 / 1.225 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.2988, allocations: 3.106 MB / 1.228 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.129/7.428, allocations: 6.344 kB / 1.228 GB, free: 2.445 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_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_Love1998Light2.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2_res.csv. Warning: Get data of variable lig.occ from file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv failed! Error: Could not read variable lig.on in file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv. Warning: Get data of variable lig.on from file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.654407330999675]