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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.456/2.456, allocations: 390.5 MB / 398 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 175.6 kB / 491.2 MB, free: 1.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009676/0.0009676, allocations: 101.7 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.893e-05/1.896e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2457, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9245/1.17, allocations: 151.4 MB / 1.36 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003548/1.171, allocations: 83.77 kB / 1.36 GB, free: 17.59 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009831/1.181, allocations: 3.077 MB / 1.363 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.756e-06/1.181, allocations: 0 / 1.363 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.295e-06/1.181, allocations: 0 / 1.363 GB, free: 33.12 MB / 0.8386 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.0004514/1.181, allocations: 445.7 kB / 1.364 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/1.181, allocations: 11.53 kB / 1.364 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/1.181, allocations: 15.7 kB / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.362e-05/1.181, allocations: 171.7 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/1.181, allocations: 12.2 kB / 1.364 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/1.181, allocations: 3.844 kB / 1.364 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.828e-05/1.181, allocations: 28.94 kB / 1.364 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/1.182, allocations: 77.52 kB / 1.364 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/1.182, allocations: 3.844 kB / 1.364 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/1.182, allocations: 0 / 1.364 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/1.182, allocations: 0 / 1.364 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/1.182, allocations: 304.1 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.649e-05/1.182, allocations: 54.73 kB / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/1.182, allocations: 35.75 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/1.182, allocations: 5.625 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/1.182, allocations: 87.95 kB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/1.183, allocations: 0 / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0003121/1.183, allocations: 134.8 kB / 1.365 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/1.183, allocations: 55.36 kB / 1.365 GB, free: 32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.05e-05/1.183, allocations: 114.7 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/1.183, allocations: 30.56 kB / 1.365 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/1.183, allocations: 95.84 kB / 1.365 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/1.183, allocations: 23.45 kB / 1.365 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-06/1.183, allocations: 0 / 1.365 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.183, allocations: 317.6 kB / 1.365 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.397e-05/1.183, allocations: 20.09 kB / 1.365 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-05/1.183, allocations: 58.89 kB / 1.365 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.13e-05/1.183, allocations: 36.17 kB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.183, allocations: 0 / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001468/1.184, allocations: 103 kB / 1.365 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/1.184, allocations: 6.781 kB / 1.365 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.184, allocations: 5.109 kB / 1.365 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.184, allocations: 160 / 1.365 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/1.184, allocations: 25.75 kB / 1.365 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/1.184, allocations: 0 / 1.365 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/1.184, allocations: 13.52 kB / 1.365 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/1.184, allocations: 3.844 kB / 1.365 GB, free: 31.34 MB / 0.8386 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.062e-05/1.184, allocations: 117 kB / 1.366 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/1.184, allocations: 9 kB / 1.366 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/1.184, allocations: 10.22 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/1.184, allocations: 7.812 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.184, allocations: 0 / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.184, allocations: 0 / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/1.184, allocations: 394.7 kB / 1.366 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.184, allocations: 96 / 1.366 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/1.184, allocations: 6.984 kB / 1.366 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.184, allocations: 3.984 kB / 1.366 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/1.184, allocations: 5.766 kB / 1.366 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.184, allocations: 4 kB / 1.366 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.184, allocations: 0 / 1.366 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/1.185, allocations: 236.2 kB / 1.366 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/1.185, allocations: 81.02 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/1.185, allocations: 5.188 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/1.185, allocations: 5.422 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/1.185, allocations: 7.016 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/1.185, allocations: 5.969 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.534e-05/1.185, allocations: 94.5 kB / 1.366 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.185, allocations: 7.875 kB / 1.366 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003101/1.185, allocations: 56.34 kB / 1.366 GB, free: 30.59 MB / 0.8386 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,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003612/1.186, allocations: 175.3 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001417/1.186, allocations: 68.73 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.186, allocations: 3.938 kB / 1.367 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.27e-05/1.186, allocations: 42.61 kB / 1.367 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/1.186, allocations: 7.734 kB / 1.367 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/1.186, allocations: 122.5 kB / 1.367 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/1.187, allocations: 0.6969 MB / 1.367 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.822e-05/1.187, allocations: 7.062 kB / 1.367 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/1.187, allocations: 11.31 kB / 1.368 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.187, allocations: 0 / 1.368 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of Templates: time 0.004057/1.191, allocations: 1.731 MB / 1.369 GB, free: 29.53 MB / 0.8386 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","../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.pUp,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.ADown,bli.AUp,bli.BDown,bli.BUp,bli.H,bli.blindState,bli.occ,bli.pUp,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,time