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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,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.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,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.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006291/0.006291, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.00148/0.00148, allocations: 192.9 kB / 16.79 MB, free: 5.809 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.453/1.453, allocations: 222.9 MB / 240.5 MB, free: 4.586 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.425/2.425, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002327, allocations: 59.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6468/0.6492, allocations: 140.4 MB / 0.9496 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002822/0.6521, allocations: 1.568 MB / 0.9511 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.6533, allocations: 0.7666 MB / 0.9519 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.6534, allocations: 0 / 0.9519 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.965e-05/0.6534, allocations: 5.312 kB / 0.9519 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.419e-05/0.6536, allocations: 13.28 kB / 0.9519 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.6541, allocations: 100.9 kB / 0.952 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.6542, allocations: 74.66 kB / 0.952 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.195e-05/0.6543, allocations: 21.62 kB / 0.9521 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.6544, allocations: 43.31 kB / 0.9521 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.705e-05/0.6545, allocations: 34.42 kB / 0.9521 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.6545, allocations: 4.844 kB / 0.9521 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.6547, allocations: 94.31 kB / 0.9522 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.6548, allocations: 14.94 kB / 0.9522 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.878e-05/0.6548, allocations: 33.42 kB / 0.9523 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.655, allocations: 96.78 kB / 0.9524 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.655, allocations: 5.281 kB / 0.9524 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.52e-07/0.655, allocations: 0 / 0.9524 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.655, allocations: 0 / 0.9524 GB, free: 6.914 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.0006523/0.6557, allocations: 474.3 kB / 0.9528 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.6557, allocations: 8.75 kB / 0.9528 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.6558, allocations: 13.16 kB / 0.9528 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.322e-05/0.6559, allocations: 176.7 kB / 0.953 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.6559, allocations: 2.875 kB / 0.953 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.6559, allocations: 12.44 kB / 0.953 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.6561, allocations: 81.39 kB / 0.9531 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.6561, allocations: 0 / 0.9531 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.6561, allocations: 5 kB / 0.9531 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.6561, allocations: 0.9688 kB / 0.9531 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.6563, allocations: 38.91 kB / 0.9532 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.6567, allocations: 321.5 kB / 0.9535 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.6569, allocations: 60.14 kB / 0.9535 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.737e-05/0.657, allocations: 32.81 kB / 0.9535 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.657, allocations: 4 kB / 0.9535 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.6572, allocations: 104.3 kB / 0.9536 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.6572, allocations: 0 / 0.9536 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003733/0.6576, allocations: 160.1 kB / 0.9538 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.6576, allocations: 52.91 kB / 0.9539 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.6577, allocations: 127.2 kB / 0.954 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.6577, allocations: 27.61 kB / 0.954 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.6578, allocations: 91.44 kB / 0.9541 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.6578, allocations: 26.95 kB / 0.9541 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.6579, allocations: 35.89 kB / 0.9541 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.264e-05/0.6579, allocations: 325.1 kB / 0.9545 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-05/0.658, allocations: 22.58 kB / 0.9545 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.297e-05/0.6581, allocations: 65.64 kB / 0.9545 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.6582, allocations: 104.1 kB / 0.9546 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6582, allocations: 3.938 kB / 0.9546 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002156/0.6585, allocations: 128.2 kB / 0.9548 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.6585, allocations: 10.03 kB / 0.9548 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6585, allocations: 1.594 kB / 0.9548 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.6585, allocations: 2.656 kB / 0.9548 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.6586, allocations: 14.08 kB / 0.9548 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.6586, allocations: 5.5 kB / 0.9548 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.965e-05/0.6588, allocations: 23.23 kB / 0.9548 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.6588, allocations: 3.781 kB / 0.9548 GB, free: 4.594 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 7.069e-05/0.6588, allocations: 132.3 kB / 0.955 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.6589, allocations: 7.469 kB / 0.955 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.6592, allocations: 145.8 kB / 0.9551 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.6592, allocations: 1.656 kB / 0.9551 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6592, allocations: 1.719 kB / 0.9551 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6592, allocations: 3.984 kB / 0.9551 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.6596, allocations: 425.9 kB / 0.9555 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6597, allocations: 1 kB / 0.9555 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-05/0.6597, allocations: 12.14 kB / 0.9555 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6597, allocations: 3.938 kB / 0.9555 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.6598, allocations: 5.406 kB / 0.9555 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6598, allocations: 1.375 kB / 0.9555 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6598, allocations: 7.938 kB / 0.9555 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.66, allocations: 232.5 kB / 0.9558 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.6601, allocations: 83.3 kB / 0.9558 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.6601, allocations: 6.188 kB / 0.9558 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.6602, allocations: 8.359 kB / 0.9559 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.6603, allocations: 13.05 kB / 0.9559 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.6603, allocations: 3.125 kB / 0.9559 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.067e-05/0.6603, allocations: 101.6 kB / 0.956 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6603, allocations: 0 / 0.956 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003225/0.6607, allocations: 48.23 kB / 0.956 GB, free: 3.555 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.0002988/0.661, allocations: 171.3 kB / 0.9562 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.6612, allocations: 86.73 kB / 0.9563 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6612, allocations: 0 / 0.9563 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.6613, allocations: 49.08 kB / 0.9563 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.6616, allocations: 18.2 kB / 0.9563 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.662, allocations: 236.2 kB / 0.9565 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.6621, allocations: 0.7014 MB / 0.9572 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.6622, allocations: 13.59 kB / 0.9572 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.6622, allocations: 0 / 0.9572 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of Templates: time 0.003187/0.6654, allocations: 1.826 MB / 0.959 GB, free: 1.496 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (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 & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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