Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006483/0.006483, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001306/0.001306, allocations: 197 kB / 16.67 MB, free: 5.926 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.646/2.646, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.89 kB / 1.054 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9167/0.918, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002428/0.9204, allocations: 1.498 MB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.9217, allocations: 0.7401 MB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.9217, allocations: 4 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.9218, allocations: 7.875 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.479e-05/0.9218, allocations: 7.875 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.9224, allocations: 123.6 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.9225, allocations: 75.72 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.7e-05/0.9226, allocations: 20.16 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.368e-05/0.9227, allocations: 27.92 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.9227, allocations: 35.84 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.9228, allocations: 4 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.9229, allocations: 99.84 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.923, allocations: 19.91 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.923, allocations: 35.86 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.9232, allocations: 139.4 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.9233, allocations: 4 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9233, allocations: 0 / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.9233, allocations: 0 / 1.21 GB, free: 10.77 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005705/0.9238, allocations: 448.4 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.9239, allocations: 8.031 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.9239, allocations: 4.938 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.9241, allocations: 180.2 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.9241, allocations: 12.38 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.9241, allocations: 384 / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.9243, allocations: 81.56 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.9243, allocations: 0 / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.9243, allocations: 4 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.9243, allocations: 4 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.9245, allocations: 35.97 kB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.925, allocations: 312.6 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.9251, allocations: 46.56 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.944e-05/0.9252, allocations: 32.97 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.9253, allocations: 0 / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.9255, allocations: 87.36 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.9255, allocations: 0 / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004373/0.9259, allocations: 153.5 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.926, allocations: 51.41 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.98e-05/0.9261, allocations: 125.8 kB / 1.212 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.9261, allocations: 29.7 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.9261, allocations: 88.14 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.9262, allocations: 23.73 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.9262, allocations: 25.72 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.9263, allocations: 330.7 kB / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.987e-05/0.9264, allocations: 19.98 kB / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.842e-05/0.9265, allocations: 57.14 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.9267, allocations: 93 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9267, allocations: 0 / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002302/0.9269, allocations: 121.4 kB / 1.213 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.927, allocations: 4 kB / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.927, allocations: 4 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.927, allocations: 0 / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.464e-05/0.9271, allocations: 15.98 kB / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.9271, allocations: 0 / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.113e-05/0.9272, allocations: 7.953 kB / 1.213 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.9272, allocations: 16.06 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,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 (11): * Single equations (assignments): 11 * 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.221e-05/0.9273, allocations: 129.7 kB / 1.213 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.9273, allocations: 11.91 kB / 1.213 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.9273, allocations: 4.375 kB / 1.213 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.9273, allocations: 0 / 1.213 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.9273, allocations: 0 / 1.213 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.9274, allocations: 4 kB / 1.213 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.9278, allocations: 390.4 kB / 1.213 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.9278, allocations: 3.984 kB / 1.213 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.9279, allocations: 4 kB / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.9279, allocations: 0 / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.9279, allocations: 4 kB / 1.213 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.9279, allocations: 7.938 kB / 1.213 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9279, allocations: 0 / 1.213 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.9282, allocations: 211.4 kB / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.9282, allocations: 92.89 kB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.9283, allocations: 8 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.246e-05/0.9284, allocations: 11.88 kB / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.9284, allocations: 7.984 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.9284, allocations: 0 / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.671e-05/0.9285, allocations: 102.2 kB / 1.214 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9285, allocations: 0 / 1.214 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002938/0.9288, allocations: 39.98 kB / 1.214 GB, free: 7.016 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.000303/0.9291, allocations: 159 kB / 1.214 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.9293, allocations: 71.89 kB / 1.214 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9294, allocations: 0 / 1.214 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.9295, allocations: 44.28 kB / 1.214 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.9297, allocations: 11.92 kB / 1.214 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.9301, allocations: 192.9 kB / 1.214 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.9304, allocations: 0.6924 MB / 1.215 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3e-05/0.9305, allocations: 96 / 1.215 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.9305, allocations: 23.36 kB / 1.215 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.9305, allocations: 0 / 1.215 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of Templates: time 0.003974/0.9345, allocations: 1.524 MB / 1.216 GB, free: 4.297 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.A1,bli.A2,bli.B,bli.H,bli.LSen,bli.blindState,bli.occ,bli.p,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time