Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.001366/0.001366, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001332/0.001332, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.316 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.352/2.352, allocations: 443.5 MB / 0.7304 GB, free: 13.95 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.Love1998Light1,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 64.05 kB / 1.059 GB, free: 1.016 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2671, allocations: 160.7 MB / 1.216 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002622/0.2698, allocations: 1.522 MB / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.2711, allocations: 0.7878 MB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.2712, allocations: 0 / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.2712, allocations: 7.922 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.057e-05/0.2713, allocations: 15.86 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.2718, allocations: 127.5 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.2719, allocations: 91.7 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.212e-05/0.272, allocations: 8 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.2721, allocations: 43.83 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.709e-05/0.2721, allocations: 35.84 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.2721, allocations: 4 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.2723, allocations: 103.9 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.2724, allocations: 23.91 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.2724, allocations: 39.8 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.2726, allocations: 147.7 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2726, allocations: 0 / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2726, allocations: 0 / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2727, allocations: 4 kB / 1.218 GB, free: 13.01 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.0007624/0.2734, allocations: 468.6 kB / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.2734, allocations: 8.031 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.2735, allocations: 34.75 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.2735, allocations: 8.891 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.2737, allocations: 180.3 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2737, allocations: 4.375 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.2737, allocations: 8.375 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.2739, allocations: 81.7 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2739, allocations: 0 / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2739, allocations: 3.938 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2739, allocations: 3.938 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.274, allocations: 43.97 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.2745, allocations: 324.7 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.2747, allocations: 58.53 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.2748, allocations: 32.84 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.2748, allocations: 3.984 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.275, allocations: 95.39 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.275, allocations: 4 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0003812/0.2754, allocations: 161.5 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.2754, allocations: 51.41 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.2755, allocations: 129.8 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.2755, allocations: 29.7 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.2756, allocations: 88.38 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.2756, allocations: 31.92 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.2757, allocations: 29.7 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.2758, allocations: 330.8 kB / 1.221 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-05/0.2759, allocations: 23.98 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.276, allocations: 69.02 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.2762, allocations: 105 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2762, allocations: 0 / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000248/0.2764, allocations: 129.5 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2765, allocations: 4 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2765, allocations: 8.125 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.2765, allocations: 0 / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.2766, allocations: 15.98 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.2766, allocations: 4 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.2767, allocations: 16.31 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.032e-05/0.2767, allocations: 8 kB / 1.221 GB, free: 10.18 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.719e-05/0.2768, allocations: 128.6 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.2769, allocations: 11.95 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.2772, allocations: 153.9 kB / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.2772, allocations: 0 / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2772, allocations: 0 / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2772, allocations: 3.984 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/0.2777, allocations: 430.3 kB / 1.222 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2777, allocations: 4 kB / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.07e-05/0.2778, allocations: 15.92 kB / 1.222 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2778, allocations: 4 kB / 1.222 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2778, allocations: 4 kB / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.2778, allocations: 3.938 kB / 1.222 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2778, allocations: 0 / 1.222 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.2781, allocations: 223.5 kB / 1.222 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.2782, allocations: 81.06 kB / 1.222 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.2782, allocations: 4 kB / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.2783, allocations: 19.92 kB / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.2784, allocations: 7.984 kB / 1.222 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.2784, allocations: 4 kB / 1.222 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.503e-05/0.2784, allocations: 99.27 kB / 1.222 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2784, allocations: 0 / 1.222 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003056/0.2787, allocations: 47.86 kB / 1.222 GB, free: 8.859 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.0009276/0.2797, allocations: 0.8184 MB / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002222/0.2799, allocations: 83.83 kB / 1.223 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2799, allocations: 4.25 kB / 1.223 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.28, allocations: 47.91 kB / 1.223 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.2803, allocations: 19.92 kB / 1.223 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.2821, allocations: 1.591 MB / 1.225 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.2825, allocations: 0.6963 MB / 1.225 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.899e-05/0.2825, allocations: 12.42 kB / 1.225 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.2826, allocations: 27.42 kB / 1.225 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of SimCode: time 4.6e-07/0.2826, allocations: 0 / 1.225 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.3079, allocations: 3.104 MB / 1.228 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/7.38, allocations: 7.281 kB / 1.228 GB, free: 2.406 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_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_Love1998Light1.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1_res.csv. Warning: Get data of variable lig.occ from file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv failed! Error: Could not read variable lig.on in file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv. Warning: Get data of variable lig.on from file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.601131032999547]