Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.001173/0.001173, allocations: 107.2 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.00116/0.00116, 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.309/1.309, allocations: 225.6 MB / 249.3 MB, free: 3.18 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.361/2.361, allocations: 443.5 MB / 0.7304 GB, free: 13.89 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.Hunt1979Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 67.89 kB / 1.059 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2634, allocations: 160.7 MB / 1.216 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002676/0.2661, allocations: 1.528 MB / 1.217 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.2674, allocations: 0.7918 MB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.745e-05/0.2675, allocations: 0 / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.561e-05/0.2675, allocations: 7.922 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.512e-05/0.2676, allocations: 15.81 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.2681, allocations: 127.6 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.2682, allocations: 87.7 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.222e-05/0.2683, allocations: 15.98 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.29e-05/0.2684, allocations: 39.84 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.016e-05/0.2685, allocations: 43.77 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.2685, allocations: 8 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.2687, allocations: 107.8 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.2687, allocations: 15.98 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.579e-05/0.2688, allocations: 35.8 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.2691, allocations: 159.7 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2691, allocations: 0 / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2691, allocations: 0 / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2691, allocations: 4 kB / 1.218 GB, free: 12.91 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.000847/0.2699, allocations: 482.2 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.27, allocations: 12.03 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.827e-05/0.27, allocations: 38.67 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.27, allocations: 8.891 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.2702, allocations: 180.3 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.597e-05/0.2703, allocations: 34.25 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.2703, allocations: 12.38 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.2705, allocations: 77.56 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.2705, allocations: 4 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.2705, allocations: 4 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2705, allocations: 3.938 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.2707, allocations: 43.95 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.2713, allocations: 328.7 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.2715, allocations: 66.56 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.2716, allocations: 32.84 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.2716, allocations: 4 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.2719, allocations: 99.48 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.2719, allocations: 0 / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004722/0.2723, allocations: 173.4 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.2724, allocations: 59.41 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.2725, allocations: 137.2 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.2725, allocations: 25.7 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.2726, allocations: 96.7 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.2726, allocations: 23.84 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.2727, allocations: 29.7 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2728, allocations: 322.8 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.2729, allocations: 39.84 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.273, allocations: 69.12 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.2733, allocations: 105.1 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2733, allocations: 0 / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003122/0.2736, allocations: 141.5 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2736, allocations: 5.406 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.2736, allocations: 0 / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2736, allocations: 4 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.2737, allocations: 24.05 kB / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2737, allocations: 0 / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.2738, allocations: 15.92 kB / 1.221 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.2739, allocations: 4 kB / 1.221 GB, free: 9.973 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.841e-05/0.274, allocations: 125.8 kB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.274, allocations: 15.89 kB / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.274, allocations: 8.719 kB / 1.221 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.274, allocations: 8 kB / 1.221 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.274, allocations: 4.031 kB / 1.221 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.274, allocations: 3.984 kB / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006339/0.2747, allocations: 422.3 kB / 1.222 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2747, allocations: 4 kB / 1.222 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.298e-05/0.2747, allocations: 11.98 kB / 1.222 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2747, allocations: 0 / 1.222 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.2748, allocations: 12 kB / 1.222 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.2748, allocations: 3.938 kB / 1.222 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2748, allocations: 0 / 1.222 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.2751, allocations: 227.4 kB / 1.222 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.2752, allocations: 92.95 kB / 1.222 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.2752, allocations: 0 / 1.222 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.2753, allocations: 20.05 kB / 1.222 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.2753, allocations: 15.98 kB / 1.222 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.2754, allocations: 3.938 kB / 1.222 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.513e-05/0.2754, allocations: 107.2 kB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2754, allocations: 0 / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002867/0.2757, allocations: 35.94 kB / 1.222 GB, free: 8.773 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 (10): * Single equations (assignments): 7 * 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.0009098/0.2766, allocations: 0.8246 MB / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.2769, allocations: 83.95 kB / 1.223 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2769, allocations: 0 / 1.223 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.2771, allocations: 51.94 kB / 1.223 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.2773, allocations: 18.16 kB / 1.223 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.2793, allocations: 1.624 MB / 1.225 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.2796, allocations: 0.6924 MB / 1.225 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.106e-05/0.2796, allocations: 12.66 kB / 1.225 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.2797, allocations: 31.61 kB / 1.225 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.2797, allocations: 0 / 1.225 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.3035, allocations: 3.123 MB / 1.228 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.117/7.421, allocations: 5.734 kB / 1.228 GB, free: 2.262 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_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_Hunt1979Light.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light_res.csv. Warning: Get data of variable lig.occ from file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv failed! Error: Could not read variable lig.on in file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv. Warning: Get data of variable lig.on from file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.66406406200258]