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.004744/0.004744, allocations: 101.5 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.001295/0.001295, allocations: 194.1 kB / 16.67 MB, free: 5.93 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.89 kB / 0.9504 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9055/0.9069, allocations: 140.4 MB / 1.087 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002313/0.9092, allocations: 1.467 MB / 1.089 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007148/0.91, allocations: 441.5 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.91, allocations: 7.875 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.9101, allocations: 5.641 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.987e-05/0.9101, allocations: 18.36 kB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.9103, allocations: 21.28 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.9105, allocations: 51.08 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.9106, allocations: 7.125 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.9107, allocations: 28.5 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.697e-05/0.9107, allocations: 19.52 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.9108, allocations: 3.969 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/0.9108, allocations: 8 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.062e-05/0.9108, allocations: 16.56 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.9109, allocations: 24.02 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.911, allocations: 47.62 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.911, allocations: 1.156 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.911, allocations: 0 / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.911, allocations: 0 / 1.09 GB, free: 3.848 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.0004752/0.9115, allocations: 407.8 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.9115, allocations: 10.17 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/0.9116, allocations: 36.55 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.9116, allocations: 3.531 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.778e-05/0.9117, allocations: 172.7 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.9117, allocations: 7.859 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.9117, allocations: 5.688 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.9119, allocations: 67.08 kB / 1.09 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.9119, allocations: 0.5156 kB / 1.09 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.9119, allocations: 4 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.912, allocations: 1.094 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.9121, allocations: 35.62 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.9125, allocations: 274.7 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.9126, allocations: 41.25 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.878e-05/0.9127, allocations: 30.66 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.9127, allocations: 1.094 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.9129, allocations: 69.44 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.714e-06/0.9129, allocations: 0 / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003803/0.9133, allocations: 109.2 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.9134, allocations: 60.53 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.766e-05/0.9135, allocations: 119.4 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.9135, allocations: 26.77 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.9135, allocations: 95.41 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.9135, allocations: 11.2 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.9136, allocations: 25.42 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.421e-05/0.9136, allocations: 318.7 kB / 1.091 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.555e-05/0.9137, allocations: 16.88 kB / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.461e-05/0.9138, allocations: 49.95 kB / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.9139, allocations: 73.52 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9139, allocations: 0 / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001856/0.9141, allocations: 90.42 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.9142, allocations: 6.562 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.9142, allocations: 1.094 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.9142, allocations: 2.828 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.9143, allocations: 12.81 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.9143, allocations: 1.219 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/0.9144, allocations: 9.625 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.9144, allocations: 11.7 kB / 1.092 GB, free: 1.844 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 6.777e-05/0.9144, allocations: 117.1 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.9145, allocations: 3.219 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.9145, allocations: 6.797 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.9145, allocations: 0.7031 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.9145, allocations: 8.844 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.9145, allocations: 256 / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/0.9149, allocations: 351.8 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9149, allocations: 0.8125 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.9149, allocations: 4.984 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.9149, allocations: 1.578 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.915, allocations: 0 / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.915, allocations: 6.188 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.915, allocations: 4 kB / 1.092 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.9152, allocations: 181.2 kB / 1.092 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.9153, allocations: 82.91 kB / 1.092 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.9153, allocations: 5.578 kB / 1.092 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.9154, allocations: 9.531 kB / 1.092 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.9154, allocations: 4.625 kB / 1.092 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.9154, allocations: 5.938 kB / 1.092 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.877e-05/0.9155, allocations: 94 kB / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9155, allocations: 0 / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002317/0.9157, allocations: 12.62 kB / 1.093 GB, free: 1.023 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.0005015/0.9162, allocations: 0.7186 MB / 1.093 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.9164, allocations: 53.06 kB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.9165, allocations: 0 / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.9166, allocations: 30.98 kB / 1.093 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.9168, allocations: 11.92 kB / 1.093 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.9184, allocations: 1.397 MB / 1.095 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.9187, allocations: 0.6836 MB / 1.095 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.9187, allocations: 4.266 kB / 1.095 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.9188, allocations: 15.86 kB / 1.095 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.9188, allocations: 3.938 kB / 1.095 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.9379, allocations: 1.618 MB / 1.097 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.436/8.374, allocations: 7.078 kB / 1.097 GB, free: 13.95 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) Reference file matches