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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007783/0.007783, allocations: 98.16 kB / 15.73 MB, free: 6.031 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.001726/0.001727, allocations: 194.9 kB / 16.67 MB, free: 5.961 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.78/2.78, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 64.11 kB / 1.054 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2714, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002628/0.274, allocations: 1.499 MB / 1.209 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.2754, allocations: 0.7443 MB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.2754, allocations: 3.938 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.37e-05/0.2755, allocations: 7.922 kB / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.548e-05/0.2756, allocations: 11.86 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005667/0.2761, allocations: 127.6 kB / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.2763, allocations: 71.83 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.661e-05/0.2764, allocations: 12.17 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.553e-05/0.2765, allocations: 35.8 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.501e-05/0.2765, allocations: 35.89 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.2766, allocations: 4 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.2768, allocations: 99.91 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.2768, allocations: 19.92 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.2768, allocations: 35.8 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.2771, allocations: 143.8 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2771, allocations: 0 / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2771, allocations: 0 / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2771, allocations: 0 / 1.21 GB, free: 7.332 MB / 0.9669 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.0005875/0.2777, allocations: 448 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2777, allocations: 8.625 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.812e-05/0.2778, allocations: 34.75 kB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.2778, allocations: 8.844 kB / 1.21 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2779, allocations: 184.2 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.278, allocations: 4.375 kB / 1.211 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.278, allocations: 4.375 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.2782, allocations: 81.52 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.2782, allocations: 0 / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2782, allocations: 0 / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2782, allocations: 3.938 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.2784, allocations: 43.97 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.2789, allocations: 300.8 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.279, allocations: 46.5 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/0.2791, allocations: 36.95 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.2791, allocations: 4 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.2794, allocations: 87.38 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.2794, allocations: 0 / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004342/0.2798, allocations: 145.5 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.2799, allocations: 55.41 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.816e-05/0.28, allocations: 132.3 kB / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.28, allocations: 33.7 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.2801, allocations: 95.98 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.2801, allocations: 19.8 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.2801, allocations: 25.72 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.321e-05/0.2802, allocations: 322.8 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.637e-05/0.2803, allocations: 23.98 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.791e-05/0.2804, allocations: 69.12 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.2806, allocations: 89.08 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.2806, allocations: 0 / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002369/0.2808, allocations: 121.4 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2809, allocations: 4 kB / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2809, allocations: 0 / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2809, allocations: 4 kB / 1.212 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.665e-05/0.281, allocations: 11.98 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.281, allocations: 8.156 kB / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.234e-05/0.2811, allocations: 7.984 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.2811, allocations: 7.938 kB / 1.212 GB, free: 4.633 MB / 0.9669 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 8.369e-05/0.2812, allocations: 125.7 kB / 1.212 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.2812, allocations: 7.906 kB / 1.213 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.2812, allocations: 8.375 kB / 1.213 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2812, allocations: 0 / 1.213 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.2813, allocations: 0 / 1.213 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2813, allocations: 7.984 kB / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/0.2817, allocations: 390.7 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2818, allocations: 0 / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.071e-05/0.2818, allocations: 3.938 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2818, allocations: 4 kB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.2818, allocations: 7.984 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2818, allocations: 3.938 kB / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2818, allocations: 80 / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.2821, allocations: 219.4 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.2822, allocations: 88.95 kB / 1.213 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.2822, allocations: 4 kB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.842e-05/0.2823, allocations: 7.922 kB / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.2824, allocations: 4 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.2824, allocations: 8 kB / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.328e-05/0.2825, allocations: 99.25 kB / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2825, allocations: 4 kB / 1.213 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003094/0.2828, allocations: 36 kB / 1.213 GB, free: 3.52 MB / 0.9669 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.000757/0.2835, allocations: 0.7992 MB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.2838, allocations: 67.94 kB / 1.214 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2838, allocations: 0 / 1.214 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.2839, allocations: 43.92 kB / 1.214 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.2842, allocations: 22.08 kB / 1.214 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.2857, allocations: 1.522 MB / 1.216 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.286, allocations: 0.6885 MB / 1.216 GB, free: 240 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.687e-05/0.286, allocations: 7.984 kB / 1.216 GB, free: 232 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.2861, allocations: 23.44 kB / 1.216 GB, free: 208 kB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.2861, allocations: 4 kB / 1.216 GB, free: 204 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.3052, allocations: 2.764 MB / 1.219 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/8.022, allocations: 16.09 kB / 1.219 GB, free: 13.6 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > 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/jenkins1/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,occ.startTime,occ.startValue,occ.y,time