Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001324/0.001324, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001438, allocations: 65.83 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3517, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002639/0.3544, allocations: 1.568 MB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.3557, allocations: 0.7597 MB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.3557, allocations: 3.938 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.3558, allocations: 0 / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.643e-05/0.3559, allocations: 7.875 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.3564, allocations: 111.8 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.3565, allocations: 83.77 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3566, allocations: 19.97 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.3567, allocations: 35.86 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.862e-05/0.3568, allocations: 47.75 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.3568, allocations: 4 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.357, allocations: 95.84 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.357, allocations: 15.92 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.381e-05/0.3571, allocations: 39.84 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.3573, allocations: 151.9 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3573, allocations: 4 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3574, allocations: 0 / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.3574, allocations: 3.938 kB / 1.07 GB, free: 7.918 MB / 0.8262 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.0006153/0.358, allocations: 458.6 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.358, allocations: 8.031 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.3581, allocations: 8.844 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.3582, allocations: 176.3 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.3582, allocations: 4.375 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.3583, allocations: 8.375 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.3585, allocations: 93.89 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3585, allocations: 3.984 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.3585, allocations: 3.984 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3585, allocations: 0 / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.3587, allocations: 47.97 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.3593, allocations: 328.6 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.3594, allocations: 62.55 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3596, allocations: 44.84 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.3596, allocations: 0 / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.3598, allocations: 99.39 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.3598, allocations: 0 / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005205/0.3604, allocations: 189.4 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.3604, allocations: 55.41 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.714e-05/0.3605, allocations: 129.7 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3606, allocations: 29.7 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.3606, allocations: 92.36 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.3607, allocations: 15.81 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.3607, allocations: 41.64 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3608, allocations: 322.8 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.931e-05/0.3609, allocations: 27.98 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.361, allocations: 69.98 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.3612, allocations: 113.9 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3612, allocations: 3.938 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002534/0.3615, allocations: 137.4 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3615, allocations: 5.406 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3615, allocations: 4 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3616, allocations: 0 / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.3617, allocations: 23.92 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3617, allocations: 4 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.3617, allocations: 11.89 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.3618, allocations: 12.16 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$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 0.0001047/0.3619, allocations: 131.2 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.3619, allocations: 7.906 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.3619, allocations: 8.375 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3619, allocations: 0 / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.362, allocations: 4 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.362, allocations: 3.984 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.3625, allocations: 434.6 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3625, allocations: 7.984 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.3626, allocations: 0 / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3626, allocations: 4 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.3626, allocations: 3.984 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3626, allocations: 0 / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3626, allocations: 4.406 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.363, allocations: 255.3 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.363, allocations: 85.02 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.3631, allocations: 4 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.3632, allocations: 0 / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.3632, allocations: 11.92 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.3633, allocations: 7.984 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.331e-05/0.3633, allocations: 102.6 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3633, allocations: 0 / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003202/0.3636, allocations: 44 kB / 1.074 GB, free: 3.863 MB / 0.8262 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 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000332/0.364, allocations: 160.8 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002762/0.3643, allocations: 84.14 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3643, allocations: 4.062 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.3644, allocations: 56 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.3647, allocations: 16.67 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.3652, allocations: 219.9 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.3654, allocations: 0.6926 MB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.821e-05/0.3655, allocations: 4 kB / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.3655, allocations: 15.42 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3655, allocations: 3.938 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.004486/0.37, allocations: 1.615 MB / 1.077 GB, free: 0.9727 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches