Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_11_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.001656/0.001656, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.483/2.483, allocations: 469.8 MB / 0.7424 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 63.53 kB / 0.9087 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2375, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002525/0.2401, allocations: 1.489 MB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.2413, allocations: 0.7301 MB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.837e-05/0.2413, allocations: 4 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.2414, allocations: 3.938 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.655e-05/0.2414, allocations: 7.875 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.2419, allocations: 119.6 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.442e-05/0.242, allocations: 71.78 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.95e-05/0.2421, allocations: 8 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.054e-05/0.2422, allocations: 43.83 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.7e-05/0.2423, allocations: 31.84 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.2423, allocations: 4 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.2425, allocations: 95.91 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.744e-05/0.2425, allocations: 19.92 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.2426, allocations: 31.84 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.2428, allocations: 139.8 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2428, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2428, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2428, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8262 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.0005456/0.2434, allocations: 438.7 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.2434, allocations: 8.031 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.2435, allocations: 46.73 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.2435, allocations: 8.844 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.2436, allocations: 172.2 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.2436, allocations: 384 / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.2437, allocations: 8.375 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.2438, allocations: 73.77 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2439, allocations: 7.938 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.2439, allocations: 3.938 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.2439, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.244, allocations: 39.97 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.2445, allocations: 292.8 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.2446, allocations: 54.55 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.358e-05/0.2447, allocations: 44.91 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.2447, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.2449, allocations: 71.38 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2449, allocations: 0 / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003845/0.2453, allocations: 141.5 kB / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.2454, allocations: 51.41 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.663e-05/0.2455, allocations: 129.8 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.2455, allocations: 29.64 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.2456, allocations: 99.98 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.2456, allocations: 19.86 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.2456, allocations: 25.72 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2458, allocations: 322.8 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.2458, allocations: 19.98 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.68e-05/0.2459, allocations: 69.12 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.2461, allocations: 85.08 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2461, allocations: 4 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002184/0.2463, allocations: 105.5 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2464, allocations: 8 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2464, allocations: 0 / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2464, allocations: 4 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.2465, allocations: 20.08 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2465, allocations: 7.938 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.2465, allocations: 7.906 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.2466, allocations: 11.98 kB / 1.069 GB, free: 8.742 MB / 0.8262 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.984e-05/0.2467, allocations: 123 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.2467, allocations: 7.906 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.2467, allocations: 12.41 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2467, allocations: 0 / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2467, allocations: 11.94 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2467, allocations: 0 / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.2472, allocations: 366.5 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2472, allocations: 4 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.2472, allocations: 3.984 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2472, allocations: 4 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.2472, allocations: 0 / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2473, allocations: 3.938 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2473, allocations: 4 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.2475, allocations: 215.3 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.2476, allocations: 85.02 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.2476, allocations: 4 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.593e-05/0.2477, allocations: 11.92 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.2477, allocations: 4 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.2478, allocations: 3.984 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.204e-05/0.2478, allocations: 91.28 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2478, allocations: 0 / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002715/0.2481, allocations: 43.98 kB / 1.07 GB, free: 7.664 MB / 0.8262 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.0007659/0.2489, allocations: 0.8026 MB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.2491, allocations: 67.91 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2491, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.2492, allocations: 43.89 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.2495, allocations: 18.12 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.251, allocations: 1.491 MB / 1.072 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.2513, allocations: 0.6961 MB / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.705e-05/0.2513, allocations: 0 / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.2513, allocations: 23.42 kB / 1.073 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2514, allocations: 0 / 1.073 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.558/2.809, allocations: 2.599 MB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.543/12.35, allocations: 10.77 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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