Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.00676/0.006761, 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.001284/0.001284, allocations: 196.1 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.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.475/2.475, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 1.018 GB, free: 9.969 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8676/0.8689, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003108/0.8721, allocations: 1.484 MB / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.8738, allocations: 0.7245 MB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.804e-05/0.8739, allocations: 0 / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.561e-05/0.874, allocations: 11.86 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.637e-05/0.8741, allocations: 19.8 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008139/0.8749, allocations: 115.6 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.8751, allocations: 75.77 kB / 1.168 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.8753, allocations: 8 kB / 1.168 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.8754, allocations: 31.86 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.536e-05/0.8755, allocations: 39.83 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.8755, allocations: 4 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.8758, allocations: 99.84 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.8759, allocations: 7.984 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.369e-05/0.8759, allocations: 35.8 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.8762, allocations: 137.9 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.8763, allocations: 4 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8763, allocations: 4 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.8763, allocations: 0 / 1.169 GB, free: 1.008 MB / 0.8887 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.0007079/0.877, allocations: 438.6 kB / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.877, allocations: 8.625 kB / 1.169 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.8771, allocations: 38.75 kB / 1.169 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.8771, allocations: 12.83 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.8773, allocations: 176.2 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.8773, allocations: 8.312 kB / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.8773, allocations: 8.359 kB / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.8775, allocations: 81.77 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.8776, allocations: 0 / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.8776, allocations: 0 / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.8776, allocations: 0 / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.8777, allocations: 35.97 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.8782, allocations: 292.8 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.8784, allocations: 58.44 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.8785, allocations: 28.97 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.8785, allocations: 4 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.8787, allocations: 83.27 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.8787, allocations: 0 / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004655/0.8792, allocations: 141.6 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.8793, allocations: 51.41 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.8794, allocations: 129.7 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.8794, allocations: 25.7 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.8795, allocations: 88.14 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.8795, allocations: 11.81 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.8796, allocations: 33.7 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.8797, allocations: 326.8 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.258e-05/0.8798, allocations: 19.98 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.8799, allocations: 61.08 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.8801, allocations: 97 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8801, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002332/0.8804, allocations: 117.5 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.8804, allocations: 8 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.8804, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.8804, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.512e-05/0.8806, allocations: 15.98 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.8806, allocations: 0 / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.8806, allocations: 11.94 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.8807, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 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.pDown,$PRE.bli.pDown,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 0.00013/0.8808, allocations: 140.6 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.8808, allocations: 11.84 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.8809, allocations: 4.375 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8809, allocations: 0 / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.8809, allocations: 0 / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8809, allocations: 0 / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.8814, allocations: 382.4 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8814, allocations: 0 / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.8815, allocations: 7.984 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.8815, allocations: 4 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.8815, allocations: 8 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.8815, allocations: 3.938 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8815, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.8818, allocations: 203.4 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.8819, allocations: 92.98 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.8819, allocations: 0 / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.882, allocations: 15.94 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.882, allocations: 3.984 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.882, allocations: 4 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.31e-05/0.8821, allocations: 91.27 kB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.903e-06/0.8821, allocations: 0 / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000309/0.8824, allocations: 43.92 kB / 1.172 GB, free: 13.27 MB / 0.9044 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.pDown,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.0008455/0.8833, allocations: 0.8064 MB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.8836, allocations: 76.14 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.8836, allocations: 4 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.8837, allocations: 35.92 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.884, allocations: 11.92 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.8856, allocations: 1.502 MB / 1.174 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.8859, allocations: 0.6885 MB / 1.175 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.791e-05/0.886, allocations: 11.92 kB / 1.175 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.886, allocations: 19.44 kB / 1.175 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of SimCode: time 4.31e-07/0.886, allocations: 0 / 1.175 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.9062, allocations: 2.636 MB / 1.178 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/8.726, allocations: 13.56 kB / 1.178 GB, free: 7.445 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time