Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",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.006717/0.006717, allocations: 103.6 kB / 15.73 MB, free: 6.051 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.001519/0.001519, allocations: 190.8 kB / 16.67 MB, free: 5.977 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 0.9504 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8168/0.818, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002683/0.8208, allocations: 1.465 MB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007417/0.8215, allocations: 451.2 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.8216, allocations: 0 / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.59e-05/0.8216, allocations: 8.719 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.737e-05/0.8217, allocations: 15.25 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.8219, allocations: 21.02 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.8221, allocations: 46.59 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.8222, allocations: 15.31 kB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.516e-05/0.8223, allocations: 25.16 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.381e-05/0.8224, allocations: 23.52 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.8224, allocations: 3.281 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.8224, allocations: 4.812 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.8224, allocations: 11.69 kB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.8225, allocations: 24.64 kB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.8226, allocations: 48.61 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.8226, allocations: 3.938 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8226, allocations: 0 / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.8226, allocations: 0 / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004811/0.8231, allocations: 412.1 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.8232, allocations: 9.781 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.78e-05/0.8232, allocations: 37.11 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.8232, allocations: 2.75 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.572e-05/0.8233, allocations: 172.9 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.8234, allocations: 3.344 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.8234, allocations: 6.625 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.8236, allocations: 66.44 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.8236, allocations: 4.844 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.8236, allocations: 0 / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.8236, allocations: 1.547 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.8237, allocations: 39.28 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.8241, allocations: 274.4 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.8242, allocations: 41.8 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.32e-05/0.8243, allocations: 26.61 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.8244, allocations: 1.844 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.8245, allocations: 75.98 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.8245, allocations: 0 / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003604/0.8249, allocations: 114.2 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.8249, allocations: 53.2 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.672e-05/0.825, allocations: 111.1 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.825, allocations: 29.7 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.8251, allocations: 92.45 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.8251, allocations: 11.27 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.8251, allocations: 21.06 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.719e-05/0.8252, allocations: 327.4 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.363e-05/0.8253, allocations: 20.03 kB / 1.091 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.885e-05/0.8253, allocations: 45.88 kB / 1.091 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.8255, allocations: 73.69 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8255, allocations: 3.938 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001912/0.8257, allocations: 90.58 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.8257, allocations: 6.375 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8257, allocations: 5.625 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.8257, allocations: 1.969 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.8258, allocations: 8.609 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.8258, allocations: 2.609 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.081e-05/0.8259, allocations: 8.438 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.8259, allocations: 3.531 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (bli.blindState,$PRE.bli.blindState,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 (7): * Single equations (assignments): 7 * 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 5.696e-05/0.826, allocations: 118 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.826, allocations: 3.719 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.826, allocations: 10.34 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.826, allocations: 0 / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.826, allocations: 8.969 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.826, allocations: 0.75 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.8264, allocations: 343.6 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.8264, allocations: 0.5781 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.8264, allocations: 10.05 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.8264, allocations: 0 / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.8265, allocations: 9.141 kB / 1.092 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.8265, allocations: 5.531 kB / 1.092 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8265, allocations: 0 / 1.092 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.8267, allocations: 181 kB / 1.092 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.8267, allocations: 86.58 kB / 1.092 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.8268, allocations: 1.844 kB / 1.092 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.8269, allocations: 14.25 kB / 1.092 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.8269, allocations: 3.531 kB / 1.092 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.8269, allocations: 1.891 kB / 1.092 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.827, allocations: 90.27 kB / 1.092 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.827, allocations: 1.188 kB / 1.092 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002362/0.8272, allocations: 11.75 kB / 1.093 GB, free: 1.02 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005616/0.8278, allocations: 0.7231 MB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.828, allocations: 56.14 kB / 1.093 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.828, allocations: 0 / 1.093 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.8282, allocations: 27.44 kB / 1.093 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.8284, allocations: 15.83 kB / 1.093 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.83, allocations: 1.399 MB / 1.095 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.8303, allocations: 0.6839 MB / 1.095 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.8304, allocations: 2.953 kB / 1.095 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.8304, allocations: 15.61 kB / 1.095 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of SimCode: time 4.51e-07/0.8304, allocations: 0 / 1.095 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.849, allocations: 1.641 MB / 1.097 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.691, allocations: 5.766 kB / 1.097 GB, free: 13.93 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.H,bli.HSet,bli.blindState,bli.occ,bli.samplePeriod,occ.startTime,occ.startValue,occ.y,time