Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008614/0.0008614, allocations: 98.19 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008317/0.008317, allocations: 171 kB / 16.27 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.084/2.084, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002861, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5194/0.5197, allocations: 142.4 MB / 0.9552 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001213/0.521, allocations: 1.226 MB / 0.9564 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008834/0.5219, allocations: 0.7403 MB / 0.9571 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.733e-05/0.5219, allocations: 4 kB / 0.9571 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.5219, allocations: 12.95 kB / 0.9571 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.122e-05/0.522, allocations: 8.984 kB / 0.9571 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.5224, allocations: 101.6 kB / 0.9572 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.416e-05/0.5224, allocations: 82.48 kB / 0.9573 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.775e-05/0.5225, allocations: 13.73 kB / 0.9573 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.079e-05/0.5226, allocations: 41.95 kB / 0.9573 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.5227, allocations: 35.78 kB / 0.9574 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.5227, allocations: 3.406 kB / 0.9574 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.5228, allocations: 94.19 kB / 0.9575 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.5228, allocations: 18.59 kB / 0.9575 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.5229, allocations: 54.78 kB / 0.9575 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.5231, allocations: 137.6 kB / 0.9577 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.5231, allocations: 1.375 kB / 0.9577 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5231, allocations: 0 / 0.9577 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.755e-06/0.5231, allocations: 0 / 0.9577 GB, free: 5.664 MB / 0.7169 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.0004725/0.5236, allocations: 457.1 kB / 0.9581 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.5236, allocations: 10 kB / 0.9581 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.509e-05/0.5236, allocations: 31.94 kB / 0.9581 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.5237, allocations: 13.08 kB / 0.9582 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.037e-05/0.5237, allocations: 172.8 kB / 0.9583 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.5238, allocations: 11.25 kB / 0.9583 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.5238, allocations: 8.375 kB / 0.9583 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.5239, allocations: 79.83 kB / 0.9584 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.5239, allocations: 0 / 0.9584 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.524, allocations: 0 / 0.9584 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.524, allocations: 2 kB / 0.9584 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.5241, allocations: 44.84 kB / 0.9585 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.5245, allocations: 330 kB / 0.9588 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.5246, allocations: 69.58 kB / 0.9588 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.018e-05/0.5247, allocations: 33.75 kB / 0.9589 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.5247, allocations: 5.25 kB / 0.9589 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.5249, allocations: 102.2 kB / 0.959 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.5249, allocations: 0 / 0.959 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000318/0.5252, allocations: 161.1 kB / 0.9591 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.5252, allocations: 57 kB / 0.9592 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.373e-05/0.5253, allocations: 134.5 kB / 0.9593 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.5253, allocations: 31.08 kB / 0.9593 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/0.5253, allocations: 93.36 kB / 0.9594 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.5254, allocations: 25.17 kB / 0.9595 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.5254, allocations: 21.83 kB / 0.9595 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.367e-05/0.5254, allocations: 321.5 kB / 0.9598 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/0.5255, allocations: 36.47 kB / 0.9598 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/0.5256, allocations: 67.14 kB / 0.9599 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.5257, allocations: 107.5 kB / 0.96 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5257, allocations: 1.375 kB / 0.96 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001996/0.5259, allocations: 135.2 kB / 0.9601 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.526, allocations: 15.33 kB / 0.9601 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.526, allocations: 1.375 kB / 0.9601 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.526, allocations: 2.75 kB / 0.9601 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.016e-05/0.5261, allocations: 14.98 kB / 0.9601 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.5261, allocations: 2.75 kB / 0.9602 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.261e-05/0.5262, allocations: 9.625 kB / 0.9602 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.5262, allocations: 12.11 kB / 0.9602 GB, free: 3.316 MB / 0.7169 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 5.733e-05/0.5263, allocations: 130 kB / 0.9603 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.5263, allocations: 6.656 kB / 0.9603 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.5265, allocations: 154.5 kB / 0.9604 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5266, allocations: 5.312 kB / 0.9605 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.5266, allocations: 0 / 0.9605 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5266, allocations: 1.375 kB / 0.9605 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.527, allocations: 437.6 kB / 0.9609 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.527, allocations: 3.938 kB / 0.9609 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.5271, allocations: 13.25 kB / 0.9609 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5271, allocations: 1.281 kB / 0.9609 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.5271, allocations: 5.516 kB / 0.9609 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5271, allocations: 8.312 kB / 0.9609 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5271, allocations: 4 kB / 0.9609 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.5273, allocations: 224.3 kB / 0.9611 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.5274, allocations: 88.06 kB / 0.9612 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.5274, allocations: 5.188 kB / 0.9612 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.5275, allocations: 19.36 kB / 0.9612 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.5275, allocations: 13.39 kB / 0.9612 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.5276, allocations: 3.219 kB / 0.9612 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.564e-05/0.5276, allocations: 95.36 kB / 0.9613 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.42e-07/0.5276, allocations: 0 / 0.9613 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000267/0.5279, allocations: 51.77 kB / 0.9614 GB, free: 2.27 MB / 0.7169 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.000529/0.5284, allocations: 0.8242 MB / 0.9622 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.5286, allocations: 92.98 kB / 0.9623 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5286, allocations: 1.375 kB / 0.9623 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.974e-05/0.5287, allocations: 52.78 kB / 0.9623 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.529, allocations: 14.81 kB / 0.9623 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.5302, allocations: 1.621 MB / 0.9639 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.5304, allocations: 0.6965 MB / 0.9646 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.144e-05/0.5305, allocations: 14.55 kB / 0.9646 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.5305, allocations: 28.98 kB / 0.9646 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5305, allocations: 0 / 0.9646 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.153/1.683, allocations: 2.719 MB / 0.9673 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002802/1.684, allocations: 266.4 kB / 0.9676 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/3.34, allocations: 3.625 kB / 0.9676 GB, free: 13.68 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches