Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.0009833/0.0009833, 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.00121/0.00121, allocations: 170.3 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.908/0.908, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.677/1.677, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.423e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001772/0.001786, allocations: 1.521 MB / 0.9519 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009805/0.002766, allocations: 0.8027 MB / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.002819, allocations: 0 / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.00285, allocations: 11.86 kB / 0.9527 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.455e-05/0.002935, allocations: 27.8 kB / 0.9528 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.003412, allocations: 151.4 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.003519, allocations: 95.62 kB / 0.953 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.003601, allocations: 8 kB / 0.953 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.003738, allocations: 63.81 kB / 0.9531 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.0038, allocations: 31.89 kB / 0.9531 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.003818, allocations: 4 kB / 0.9531 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.004011, allocations: 151.6 kB / 0.9533 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.004038, allocations: 19.97 kB / 0.9533 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.004077, allocations: 27.92 kB / 0.9533 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.00432, allocations: 183.5 kB / 0.9535 GB, free: 428 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004322, allocations: 0 / 0.9535 GB, free: 428 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.693e-06/0.004324, allocations: 0 / 0.9535 GB, free: 428 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.004329, allocations: 3.938 kB / 0.9535 GB, free: 424 kB / 0.9011 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.0006379/0.004967, allocations: 413 kB / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.005012, allocations: 12.03 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.005048, allocations: 34.75 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.005213, allocations: 28.88 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.005423, allocations: 140.2 kB / 0.9541 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-05/0.005503, allocations: 89.67 kB / 0.9542 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.005518, allocations: 8.359 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.005681, allocations: 70.22 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.005693, allocations: 4.172 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.005706, allocations: 3.938 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.005714, allocations: 4 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.005837, allocations: 51.91 kB / 0.9543 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.006275, allocations: 275.9 kB / 0.9546 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.006421, allocations: 66.47 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.399e-05/0.006485, allocations: 32.84 kB / 0.9547 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.006511, allocations: 8.031 kB / 0.9547 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.006661, allocations: 99.48 kB / 0.9548 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.006663, allocations: 0 / 0.9548 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0003344/0.006997, allocations: 169.5 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.007042, allocations: 59.39 kB / 0.955 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.007138, allocations: 137.8 kB / 0.9551 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.007153, allocations: 25.7 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.007202, allocations: 92.75 kB / 0.9552 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.007226, allocations: 31.78 kB / 0.9553 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.007265, allocations: 29.7 kB / 0.9553 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.096e-05/0.007346, allocations: 330.7 kB / 0.9556 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-05/0.007403, allocations: 31.92 kB / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-05/0.007477, allocations: 77.56 kB / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.007604, allocations: 105.1 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.007606, allocations: 0 / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000163/0.007769, allocations: 133.5 kB / 0.9559 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.007782, allocations: 8 kB / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.007787, allocations: 0 / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.007801, allocations: 4 kB / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.644e-05/0.007867, allocations: 24.05 kB / 0.956 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.007873, allocations: 4 kB / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.007926, allocations: 19.94 kB / 0.956 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.007935, allocations: 4 kB / 0.956 GB, free: 13.58 MB / 0.9167 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 6.841e-05/0.008004, allocations: 133.7 kB / 0.9561 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.008014, allocations: 7.953 kB / 0.9561 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.008207, allocations: 16.86 kB / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.008211, allocations: 4 kB / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.008214, allocations: 0 / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.008218, allocations: 4 kB / 0.9561 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.008589, allocations: 389.4 kB / 0.9565 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.008592, allocations: 3.984 kB / 0.9565 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.008622, allocations: 8 kB / 0.9565 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.008624, allocations: 4 kB / 0.9565 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.008633, allocations: 3.984 kB / 0.9565 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.008634, allocations: 0 / 0.9565 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.008634, allocations: 0 / 0.9565 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.00883, allocations: 235.3 kB / 0.9568 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.008841, allocations: 11.94 kB / 0.9568 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.008856, allocations: 0 / 0.9568 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.609e-05/0.008912, allocations: 8.172 kB / 0.9568 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.00895, allocations: 15.92 kB / 0.9568 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.008962, allocations: 11.92 kB / 0.9568 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.009012, allocations: 105.8 kB / 0.9569 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.009012, allocations: 0 / 0.9569 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001968/0.009208, allocations: 43.94 kB / 0.957 GB, free: 12.52 MB / 0.9167 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.000508/0.009716, allocations: 0.8344 MB / 0.9578 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.009883, allocations: 91.88 kB / 0.9579 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.009884, allocations: 0 / 0.9579 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.034e-05/0.009955, allocations: 43.91 kB / 0.9579 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.01015, allocations: 20.16 kB / 0.9579 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.0113, allocations: 1.63 MB / 0.9595 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.189e-05/0.01136, allocations: 83.86 kB / 0.9596 GB, free: 9.676 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.789e-05/0.01139, allocations: 16.47 kB / 0.9596 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.01144, allocations: 28.48 kB / 0.9596 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of SimCode: time 5e-07/0.01144, allocations: 4 kB / 0.9596 GB, free: 9.629 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.0272, allocations: 3.929 MB / 0.9635 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.067, allocations: 4.062 kB / 0.9635 GB, free: 5.844 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv. Warning: Get data of variable lig.occ from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv failed! Error: Could not read variable lig.on in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv. Warning: Get data of variable lig.on from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.224486480467021]