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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006363/0.006363, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001244/0.001244, allocations: 192.6 kB / 16.67 MB, free: 5.52 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.607/2.607, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001364, allocations: 60.14 kB / 1.054 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8581/0.8595, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.00255/0.8621, allocations: 1.512 MB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.8635, allocations: 0.7439 MB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.8636, allocations: 4 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.8637, allocations: 3.938 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-05/0.8637, allocations: 11.88 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005452/0.8643, allocations: 131.5 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.8644, allocations: 91.75 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.828e-05/0.8645, allocations: 19.98 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.283e-05/0.8646, allocations: 39.86 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.985e-05/0.8647, allocations: 47.81 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.8647, allocations: 8 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.8649, allocations: 99.84 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.8649, allocations: 15.92 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.865, allocations: 43.8 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.8652, allocations: 155.4 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8652, allocations: 0 / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8652, allocations: 0 / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.8653, allocations: 4 kB / 1.211 GB, free: 10.7 MB / 0.9356 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.0006296/0.8659, allocations: 460.4 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.8659, allocations: 8.031 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.866, allocations: 12.84 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.8661, allocations: 176.2 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.8662, allocations: 8.312 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.479e-05/0.8662, allocations: 8.375 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.8664, allocations: 89.94 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.8665, allocations: 4 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.8665, allocations: 0 / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.8665, allocations: 0 / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.8666, allocations: 47.91 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.8672, allocations: 324.7 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.8674, allocations: 70.55 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.8675, allocations: 40.84 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.8675, allocations: 3.984 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.8678, allocations: 103.4 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.8678, allocations: 0 / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0004704/0.8682, allocations: 189.5 kB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.8683, allocations: 55.39 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.8684, allocations: 129.5 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.8684, allocations: 29.7 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.8685, allocations: 96.36 kB / 1.212 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.8685, allocations: 19.75 kB / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.8686, allocations: 29.7 kB / 1.212 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.8687, allocations: 330.8 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/0.8688, allocations: 23.98 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.8689, allocations: 73.98 kB / 1.213 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.8691, allocations: 113.9 kB / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.8691, allocations: 0 / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002489/0.8693, allocations: 129.5 kB / 1.213 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.8694, allocations: 8 kB / 1.213 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.8694, allocations: 0 / 1.213 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.8694, allocations: 7.984 kB / 1.213 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.8695, allocations: 15.94 kB / 1.213 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.8695, allocations: 3.938 kB / 1.213 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.319e-05/0.8696, allocations: 23.83 kB / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.8696, allocations: 4 kB / 1.213 GB, free: 7.832 MB / 0.9356 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 9.966e-05/0.8697, allocations: 134.2 kB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.8697, allocations: 3.906 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.8698, allocations: 16.36 kB / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8698, allocations: 0 / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8698, allocations: 3.938 kB / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.8698, allocations: 0 / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.8703, allocations: 430.5 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8704, allocations: 0 / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.8704, allocations: 8 kB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8704, allocations: 0 / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.8704, allocations: 7.984 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.8704, allocations: 0 / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/0.8705, allocations: 3.938 kB / 1.214 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.8708, allocations: 251.3 kB / 1.214 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.8708, allocations: 85.02 kB / 1.214 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.8709, allocations: 4 kB / 1.214 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.871, allocations: 11.98 kB / 1.214 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.871, allocations: 7.938 kB / 1.214 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.8711, allocations: 7.984 kB / 1.214 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.573e-05/0.8711, allocations: 91.27 kB / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8711, allocations: 0 / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003208/0.8715, allocations: 40 kB / 1.214 GB, free: 6.645 MB / 0.9356 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.0003156/0.8718, allocations: 182.4 kB / 1.214 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002615/0.8721, allocations: 91.88 kB / 1.214 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8721, allocations: 0 / 1.214 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.8722, allocations: 51.86 kB / 1.214 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.8725, allocations: 16.3 kB / 1.214 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.8729, allocations: 208.1 kB / 1.215 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.8732, allocations: 0.6962 MB / 1.215 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.8732, allocations: 7.984 kB / 1.215 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.8733, allocations: 15.44 kB / 1.215 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.8733, allocations: 0 / 1.215 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.004291/0.8776, allocations: 1.709 MB / 1.217 GB, free: 3.652 MB / 0.9356 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