Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.006585/0.006585, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001763/0.001763, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.327/2.327, allocations: 437.1 MB / 0.7105 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 60.03 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6242/0.626, allocations: 151.6 MB / 1.166 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002282/0.6283, allocations: 1.492 MB / 1.168 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.6294, allocations: 0.7206 MB / 1.168 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.6295, allocations: 4 kB / 1.168 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.6295, allocations: 7.922 kB / 1.168 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.675e-05/0.6296, allocations: 15.86 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.63, allocations: 115.6 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.6301, allocations: 71.77 kB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.1e-05/0.6302, allocations: 8 kB / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.098e-05/0.6303, allocations: 31.92 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.961e-05/0.6304, allocations: 39.83 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.6304, allocations: 4 kB / 1.169 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.6306, allocations: 103.8 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.957e-05/0.6306, allocations: 15.92 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.6307, allocations: 23.88 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.6309, allocations: 139.3 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.6309, allocations: 0 / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.206e-06/0.6309, allocations: 0 / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.6309, allocations: 3.938 kB / 1.169 GB, free: 1.051 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.0005416/0.6314, allocations: 450.4 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.6315, allocations: 8.922 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.6315, allocations: 38.73 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.6316, allocations: 8.891 kB / 1.169 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.6317, allocations: 176.2 kB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.6317, allocations: 8.359 kB / 1.17 GB, free: 276 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.6317, allocations: 4.375 kB / 1.17 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.6319, allocations: 77.77 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.6319, allocations: 4 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.6319, allocations: 7.922 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.6319, allocations: 0 / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.6321, allocations: 35.92 kB / 1.17 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.6325, allocations: 292.9 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.6327, allocations: 50.56 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.288e-05/0.6328, allocations: 36.95 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.6328, allocations: 4 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.633, allocations: 79.31 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.633, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003684/0.6333, allocations: 141.6 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.6334, allocations: 55.41 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.129e-05/0.6335, allocations: 121.8 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.6335, allocations: 25.7 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.6336, allocations: 92.09 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.6336, allocations: 11.91 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.6336, allocations: 29.7 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6338, allocations: 326.8 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.81e-05/0.6338, allocations: 27.92 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.302e-05/0.6339, allocations: 61.08 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.6341, allocations: 93.06 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6341, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002162/0.6343, allocations: 113.5 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.6344, allocations: 8.156 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.6344, allocations: 4 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.6344, allocations: 0 / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.5e-05/0.6345, allocations: 19.92 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.6345, allocations: 0 / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.662e-05/0.6345, allocations: 7.938 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.6346, allocations: 4 kB / 1.171 GB, free: 14.39 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.0001011/0.6347, allocations: 129.8 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.6347, allocations: 7.953 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.849e-05/0.6347, allocations: 8.375 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.6347, allocations: 0 / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.6347, allocations: 0 / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.6347, allocations: 0 / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.6352, allocations: 386.7 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6352, allocations: 0 / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.6353, allocations: 7.984 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.6353, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.6353, allocations: 8 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.6353, allocations: 3.938 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.6353, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.6356, allocations: 211.4 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.6357, allocations: 93.03 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.6357, allocations: 0 / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.6358, allocations: 15.92 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.6358, allocations: 4 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.6358, allocations: 4 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.301e-05/0.6359, allocations: 95.86 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6359, allocations: 0 / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002771/0.6362, allocations: 39.92 kB / 1.172 GB, free: 13.3 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.0007741/0.637, allocations: 0.8103 MB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.6372, allocations: 67.91 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.6372, allocations: 0 / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.6373, allocations: 36.3 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.6375, allocations: 18.36 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.6391, allocations: 1.513 MB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.6394, allocations: 0.6846 MB / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.961e-05/0.6395, allocations: 7.984 kB / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.6395, allocations: 19.44 kB / 1.175 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.6395, allocations: 0 / 1.175 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.12/1.759, allocations: 2.641 MB / 1.178 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/15.32, allocations: 9.516 kB / 1.178 GB, free: 7.473 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time