Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_latest_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.001257/0.001257, allocations: 108 kB / 15.6 MB, free: 132 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.001605/0.001605, allocations: 193 kB / 16.53 MB, free: 6.391 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.414/2.414, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 67.17 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2316, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002396/0.234, allocations: 1.483 MB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2351, allocations: 0.7365 MB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.2352, allocations: 7.875 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.2352, allocations: 7.875 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.145e-05/0.2353, allocations: 15.84 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.2357, allocations: 115.6 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.025e-05/0.2358, allocations: 67.83 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.149e-05/0.2359, allocations: 16 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.066e-05/0.236, allocations: 31.84 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.538e-05/0.2361, allocations: 35.84 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.2361, allocations: 4 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.2363, allocations: 95.84 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.2363, allocations: 23.91 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.2363, allocations: 27.86 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.2365, allocations: 139.9 kB / 1.056 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2365, allocations: 4 kB / 1.056 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2365, allocations: 0 / 1.056 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2366, allocations: 0 / 1.056 GB, free: 5.461 MB / 0.8106 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.0005025/0.2371, allocations: 430.7 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2371, allocations: 16.61 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.2371, allocations: 34.75 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.2372, allocations: 8.844 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.734e-05/0.2373, allocations: 172.2 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.2373, allocations: 8.375 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.2373, allocations: 16.34 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.2375, allocations: 69.72 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.2375, allocations: 0 / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.2375, allocations: 0 / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2375, allocations: 4 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.2377, allocations: 39.91 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.2381, allocations: 296.8 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.2382, allocations: 54.48 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.044e-05/0.2383, allocations: 36.97 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.2383, allocations: 0 / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.2385, allocations: 83.36 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.2385, allocations: 0 / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003533/0.2389, allocations: 137.6 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.2389, allocations: 59.39 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.012e-05/0.239, allocations: 121.8 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.239, allocations: 25.7 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.2391, allocations: 95.98 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.2391, allocations: 15.89 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.2392, allocations: 25.72 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2393, allocations: 326.8 kB / 1.058 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.2393, allocations: 23.92 kB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.028e-05/0.2394, allocations: 61.12 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.2396, allocations: 89.08 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2396, allocations: 0 / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002077/0.2398, allocations: 117.4 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.2398, allocations: 7.938 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2398, allocations: 4 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.2399, allocations: 0 / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.683e-05/0.2399, allocations: 15.98 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2399, allocations: 0 / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.24, allocations: 11.89 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.24, allocations: 16.09 kB / 1.058 GB, free: 2.805 MB / 0.8106 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.704e-05/0.2401, allocations: 132 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.2401, allocations: 7.906 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.2402, allocations: 12.38 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2402, allocations: 0 / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.2402, allocations: 0 / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2402, allocations: 0 / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.2406, allocations: 378.5 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2406, allocations: 3.984 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.2407, allocations: 7.938 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2407, allocations: 0 / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.2407, allocations: 0 / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2407, allocations: 3.938 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2407, allocations: 4 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.2409, allocations: 207.4 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.241, allocations: 81.16 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.241, allocations: 7.984 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.2411, allocations: 7.922 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.2411, allocations: 4 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.2412, allocations: 3.984 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.2412, allocations: 91.28 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2412, allocations: 0 / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002766/0.2415, allocations: 43.89 kB / 1.059 GB, free: 1.73 MB / 0.8106 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.0006595/0.2422, allocations: 0.7984 MB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.2424, allocations: 83.89 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2424, allocations: 3.938 kB / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.2425, allocations: 43.89 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.2427, allocations: 11.94 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.2441, allocations: 1.49 MB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.2443, allocations: 0.6961 MB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.982e-05/0.2444, allocations: 4 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.2444, allocations: 27.42 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2444, allocations: 0 / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3914/0.6358, allocations: 2.608 MB / 1.065 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.8, allocations: 4.062 kB / 1.065 GB, free: 11.95 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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