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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001226/0.001226, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001248/0.001248, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.484/2.484, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.89 kB / 0.8686 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5858/0.5871, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002492/0.5896, allocations: 1.556 MB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.5908, allocations: 0.744 MB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.5908, allocations: 0 / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.5909, allocations: 3.938 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.039e-05/0.591, allocations: 3.938 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.5914, allocations: 103.8 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.533e-05/0.5915, allocations: 63.78 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.306e-05/0.5916, allocations: 19.97 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.375e-05/0.5917, allocations: 27.86 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.5917, allocations: 31.91 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.5917, allocations: 0 / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.5919, allocations: 91.84 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.5919, allocations: 15.92 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.592, allocations: 35.84 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.5922, allocations: 125.9 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5922, allocations: 4 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5922, allocations: 0 / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.5922, allocations: 11.88 kB / 1.019 GB, free: 15.94 MB / 0.7794 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.0004967/0.5927, allocations: 442.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.5928, allocations: 12.03 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.5928, allocations: 30.75 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.5928, allocations: 8.844 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.491e-05/0.5929, allocations: 184.2 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.593, allocations: 4.312 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.593, allocations: 4.375 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.5932, allocations: 73.78 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.5932, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.5932, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5932, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.5933, allocations: 39.91 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.5938, allocations: 300.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.5939, allocations: 46.56 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.079e-05/0.594, allocations: 32.97 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.594, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.5942, allocations: 83.31 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.5942, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003615/0.5946, allocations: 133.5 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.5946, allocations: 55.39 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.211e-05/0.5947, allocations: 121.8 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.5947, allocations: 25.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/0.5948, allocations: 96.12 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.5948, allocations: 19.88 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.5948, allocations: 29.7 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/0.5949, allocations: 318.8 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-05/0.595, allocations: 27.92 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.494e-05/0.5951, allocations: 65.12 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.5952, allocations: 85.08 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5953, allocations: 4 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00021/0.5955, allocations: 109.4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.5955, allocations: 11.94 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5955, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.5955, allocations: 7.984 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.5956, allocations: 11.94 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.5956, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.29e-05/0.5957, allocations: 19.98 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.5957, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 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 8.031e-05/0.5958, allocations: 124.7 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.5958, allocations: 8.031 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.5958, allocations: 4.375 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5958, allocations: 7.938 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5959, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5959, allocations: 7.984 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.5963, allocations: 386.3 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5963, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.5963, allocations: 4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5963, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.5964, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.5964, allocations: 7.922 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5964, allocations: 0 / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.5966, allocations: 211.7 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.5967, allocations: 85.05 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.5967, allocations: 3.984 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.145e-05/0.5968, allocations: 11.94 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.5968, allocations: 7.984 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/0.5969, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.5969, allocations: 91.92 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5969, allocations: 8 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002764/0.5972, allocations: 36 kB / 1.023 GB, free: 12.21 MB / 0.7794 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.0006928/0.5979, allocations: 0.8017 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000201/0.5981, allocations: 67.89 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5981, allocations: 0 / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.716e-05/0.5982, allocations: 39.97 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.5985, allocations: 14.5 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.5999, allocations: 1.506 MB / 1.025 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.6001, allocations: 0.6887 MB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.425e-05/0.6001, allocations: 12.08 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.6002, allocations: 19.42 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.6002, allocations: 0 / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2635/0.8637, allocations: 2.411 MB / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/0.864, allocations: 268.8 kB / 1.028 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.825, allocations: 2.625 kB / 1.028 GB, free: 6.371 MB / 0.7794 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