Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.286/1.286, allocations: 251.5 MB / 267.4 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009683/0.0009684, allocations: 174 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007275/0.0007278, allocations: 93.78 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000293/0.0002931, allocations: 8.594 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1581, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001352/0.1595, allocations: 1.262 MB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1605, allocations: 0.831 MB / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.1606, allocations: 4 kB / 0.8988 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.1606, allocations: 3.938 kB / 0.8988 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.525e-05/0.1607, allocations: 15.86 kB / 0.8988 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.1611, allocations: 107.7 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.973e-05/0.1612, allocations: 95.69 kB / 0.899 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.264e-05/0.1612, allocations: 23.92 kB / 0.899 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.365e-05/0.1613, allocations: 35.86 kB / 0.8991 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.988e-05/0.1614, allocations: 43.75 kB / 0.8991 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1614, allocations: 4 kB / 0.8991 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.1616, allocations: 95.84 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.1616, allocations: 15.92 kB / 0.8992 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.1616, allocations: 43.77 kB / 0.8993 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.1618, allocations: 151.6 kB / 0.8994 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1618, allocations: 0 / 0.8994 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1618, allocations: 0 / 0.8994 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.1618, allocations: 4 kB / 0.8994 GB, free: 65.43 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005425/0.1624, allocations: 492.3 kB / 0.8999 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1624, allocations: 12.03 kB / 0.8999 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.1625, allocations: 12.75 kB / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.96e-05/0.1626, allocations: 185.7 kB / 0.9001 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1626, allocations: 8.375 kB / 0.9001 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.1626, allocations: 4.375 kB / 0.9001 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1628, allocations: 85.95 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1628, allocations: 0 / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1628, allocations: 0 / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1628, allocations: 4 kB / 0.9002 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.1629, allocations: 55.89 kB / 0.9002 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.1633, allocations: 344.6 kB / 0.9006 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.1635, allocations: 82.66 kB / 0.9006 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.617e-05/0.1636, allocations: 48.88 kB / 0.9007 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.1636, allocations: 4 kB / 0.9007 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.1638, allocations: 95.3 kB / 0.9008 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/0.1638, allocations: 3.984 kB / 0.9008 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003338/0.1642, allocations: 185.5 kB / 0.901 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.616e-05/0.1642, allocations: 51.41 kB / 0.901 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.423e-05/0.1643, allocations: 144.2 kB / 0.9011 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.1643, allocations: 37.58 kB / 0.9012 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.83e-05/0.1643, allocations: 100 kB / 0.9013 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.1643, allocations: 27.64 kB / 0.9013 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.1644, allocations: 29.64 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.881e-05/0.1644, allocations: 330.8 kB / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.444e-05/0.1645, allocations: 27.98 kB / 0.9017 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.28e-05/0.1646, allocations: 70.39 kB / 0.9017 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.1647, allocations: 109.1 kB / 0.9018 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1647, allocations: 0 / 0.9018 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001953/0.1649, allocations: 145.5 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.1649, allocations: 4 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1649, allocations: 4 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.165, allocations: 0 / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.1651, allocations: 19.92 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1651, allocations: 4 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.12e-05/0.1652, allocations: 15.89 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.1652, allocations: 16 kB / 0.902 GB, free: 62.45 MB / 0.6042 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.788e-05/0.1652, allocations: 125.8 kB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.1653, allocations: 7.906 kB / 0.9022 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.1656, allocations: 174.3 kB / 0.9023 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1656, allocations: 3.984 kB / 0.9023 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1656, allocations: 0 / 0.9023 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.1656, allocations: 88.92 kB / 0.9024 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.1656, allocations: 8 kB / 0.9024 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.1657, allocations: 15.92 kB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.1658, allocations: 15.98 kB / 0.9025 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002775/0.166, allocations: 245 kB / 0.9027 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002397/0.1663, allocations: 325.3 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.51e-05/0.1664, allocations: 55.95 kB / 0.9031 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.1664, allocations: 107.3 kB / 0.9032 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of Backend: time 2.71e-07/0.1664, allocations: 0 / 0.9032 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005119/0.167, allocations: 201.3 kB / 0.9034 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003496/0.1673, allocations: 0.6903 MB / 0.904 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.003381/0.1707, allocations: 1.801 MB / 0.9058 GB, free: 58.54 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)