Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 111.1 kB / 16.41 MB, free: 6.027 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.00183/0.00183, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.2 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 67.89 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9002/0.9025, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.00262/0.9052, allocations: 1.517 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.9065, allocations: 0.7512 MB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.9065, allocations: 1.25 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.813e-05/0.9066, allocations: 5.203 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.519e-05/0.9067, allocations: 15.19 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000571/0.9073, allocations: 126.6 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.9074, allocations: 89.11 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.815e-05/0.9075, allocations: 15.38 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.9076, allocations: 40.81 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.319e-05/0.9077, allocations: 41.25 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.9078, allocations: 6.719 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.908, allocations: 99.53 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.908, allocations: 19.45 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.164e-05/0.9081, allocations: 29.02 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.9084, allocations: 159 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.9084, allocations: 0 / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9084, allocations: 0 / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.9084, allocations: 1.062 kB / 1.091 GB, free: 3.676 MB / 0.8575 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.000665/0.9091, allocations: 450.2 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.9091, allocations: 9.969 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.9092, allocations: 9.641 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.9093, allocations: 186.2 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.9093, allocations: 7.953 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.9093, allocations: 4.297 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.9095, allocations: 76.48 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.9095, allocations: 0 / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.9096, allocations: 0.6875 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.9096, allocations: 2.219 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.9097, allocations: 45.98 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.9102, allocations: 318.2 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.9104, allocations: 63.61 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.61e-05/0.9105, allocations: 32.05 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.9105, allocations: 2.297 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.9108, allocations: 104.6 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.9108, allocations: 0.9375 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.000454/0.9113, allocations: 160.7 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.9113, allocations: 57.92 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.9114, allocations: 129.9 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.9115, allocations: 30.45 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.9115, allocations: 93.25 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.9115, allocations: 20.67 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.9116, allocations: 36.41 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.755e-05/0.9117, allocations: 324.3 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/0.9118, allocations: 27.62 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.9119, allocations: 66.66 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.9121, allocations: 107.8 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9121, allocations: 0 / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002632/0.9123, allocations: 131.3 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.9124, allocations: 9.969 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.9124, allocations: 1.406 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.9124, allocations: 2.219 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.9125, allocations: 15.06 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.9125, allocations: 6.5 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.9126, allocations: 17.19 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.9127, allocations: 5.375 kB / 1.094 GB, free: 1.551 MB / 0.8575 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 8.735e-05/0.9128, allocations: 124.6 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.9128, allocations: 12.27 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.9131, allocations: 154 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.9131, allocations: 2.141 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9132, allocations: 0 / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.9132, allocations: 1.188 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/0.9137, allocations: 424.3 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.9137, allocations: 4 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.748e-05/0.9138, allocations: 10.72 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.9138, allocations: 0.875 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.9138, allocations: 6.297 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.9138, allocations: 0.8125 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.9138, allocations: 9.312 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.9141, allocations: 218.8 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.9142, allocations: 88.84 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.9142, allocations: 1.406 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.9143, allocations: 11.88 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.9144, allocations: 17.42 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.9144, allocations: 4.266 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.372e-05/0.9144, allocations: 100.5 kB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9145, allocations: 0.875 kB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003585/0.9148, allocations: 44.69 kB / 1.095 GB, free: 0.6094 MB / 0.8575 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.0003735/0.9152, allocations: 178 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002737/0.9155, allocations: 81.44 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9155, allocations: 0 / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.9156, allocations: 51.36 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.9159, allocations: 21.39 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.9164, allocations: 223.9 kB / 1.096 GB, free: 268 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.9167, allocations: 0.6948 MB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.9167, allocations: 19.33 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/0.9167, allocations: 0 / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of Templates: time 0.004891/0.9216, allocations: 1.837 MB / 1.098 GB, free: 15.37 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches