Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.257/2.257, allocations: 393.5 MB / 408.4 MB, free: 10.86 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.001159/0.001158, allocations: 189 kB / 0.4902 GB, free: 2.09 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.495/1.495, allocations: 223.2 MB / 0.7992 GB, free: 15.65 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.000962/0.0009615, allocations: 100.1 kB / 0.9396 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.000408, allocations: 9.094 kB / 1.09 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3041, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2099/0.514, allocations: 151 MB / 1.377 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.5144, allocations: 75.95 kB / 1.377 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.004119/0.5186, allocations: 1.131 MB / 1.378 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.915e-06/0.5186, allocations: 0 / 1.378 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.5187, allocations: 0 / 1.378 GB, free: 13.05 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006005/0.5193, allocations: 410.6 kB / 1.378 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.648e-05/0.5193, allocations: 8.562 kB / 1.378 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.778e-05/0.5194, allocations: 11.86 kB / 1.378 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.5196, allocations: 163.1 kB / 1.378 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.5197, allocations: 0 / 1.378 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.5197, allocations: 8 kB / 1.378 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.5199, allocations: 65.66 kB / 1.378 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5199, allocations: 3.984 kB / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.52, allocations: 4 kB / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.52, allocations: 0 / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.5201, allocations: 43.91 kB / 1.379 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.5207, allocations: 292.8 kB / 1.379 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.5208, allocations: 38.56 kB / 1.379 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.5209, allocations: 7.938 kB / 1.379 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.5211, allocations: 79.42 kB / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.5211, allocations: 0 / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5): time 0.0004338/0.5216, allocations: 129.6 kB / 1.379 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.5216, allocations: 51.41 kB / 1.379 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.5218, allocations: 105.2 kB / 1.379 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.5218, allocations: 25.7 kB / 1.379 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.28e-05/0.5219, allocations: 99.97 kB / 1.379 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.5219, allocations: 7.906 kB / 1.379 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.5219, allocations: 4 kB / 1.379 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.5221, allocations: 326.8 kB / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.527e-05/0.5222, allocations: 12 kB / 1.38 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-05/0.5222, allocations: 52.28 kB / 1.38 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.079e-05/0.5223, allocations: 23.98 kB / 1.38 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.5223, allocations: 4 kB / 1.38 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000209/0.5226, allocations: 105.5 kB / 1.38 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.5226, allocations: 4 kB / 1.38 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5226, allocations: 0 / 1.38 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.5226, allocations: 4 kB / 1.38 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-05/0.5227, allocations: 8 kB / 1.38 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.5227, allocations: 7.891 kB / 1.38 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.524e-05/0.5228, allocations: 7.984 kB / 1.38 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.5228, allocations: 8.125 kB / 1.38 GB, free: 10.73 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.bli.blindState,bli.blindState,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.000125/0.523, allocations: 117.8 kB / 1.38 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.523, allocations: 7.906 kB / 1.38 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.523, allocations: 7.969 kB / 1.38 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.523, allocations: 0 / 1.38 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.523, allocations: 0 / 1.38 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.5231, allocations: 7.953 kB / 1.38 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.5235, allocations: 350.9 kB / 1.38 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5235, allocations: 0 / 1.38 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.5236, allocations: 7.938 kB / 1.38 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.5236, allocations: 0 / 1.38 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.5236, allocations: 7.938 kB / 1.38 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5236, allocations: 3.953 kB / 1.38 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5236, allocations: 4 kB / 1.38 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.5239, allocations: 187.5 kB / 1.381 GB, free: 9.961 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.524, allocations: 89 kB / 1.381 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.524, allocations: 4.375 kB / 1.381 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-05/0.5241, allocations: 4 kB / 1.381 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.5242, allocations: 15.94 kB / 1.381 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.5242, allocations: 0 / 1.381 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.035e-05/0.5242, allocations: 91.27 kB / 1.381 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5243, allocations: 0 / 1.381 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000223/0.5245, allocations: 12 kB / 1.381 GB, free: 9.73 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000151/0.5246, allocations: 108 kB / 1.381 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.5249, allocations: 55.91 kB / 1.381 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5249, allocations: 4 kB / 1.381 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.525, allocations: 36.28 kB / 1.381 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.5252, allocations: 10.44 kB / 1.381 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000499/0.5257, allocations: 184.6 kB / 1.381 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.526, allocations: 0.6888 MB / 1.382 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.5261, allocations: 3.984 kB / 1.382 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.5261, allocations: 15.38 kB / 1.382 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of SimCode: time 3e-07/0.5261, allocations: 0 / 1.382 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of Templates: time 0.002627/0.5287, allocations: 486.4 kB / 1.382 GB, free: 8.109 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches