Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_latest_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.001129/0.001129, 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.00104/0.00104, allocations: 192.2 kB / 16.14 MB, free: 6.711 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.312/1.312, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.626/2.626, allocations: 461.9 MB / 0.7342 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 62 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2705, allocations: 157.4 MB / 1.052 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002841/0.2733, allocations: 1.534 MB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007979/0.2742, allocations: 462.7 kB / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.2742, allocations: 0 / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.782e-05/0.2743, allocations: 0 / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.704e-05/0.2744, allocations: 3.938 kB / 1.054 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.2746, allocations: 23.92 kB / 1.054 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.633e-05/0.2747, allocations: 51.78 kB / 1.054 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.871e-05/0.2748, allocations: 8 kB / 1.054 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.2749, allocations: 23.91 kB / 1.054 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.275, allocations: 23.92 kB / 1.054 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.275, allocations: 0 / 1.054 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.531e-05/0.275, allocations: 4 kB / 1.054 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.2751, allocations: 11.92 kB / 1.054 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.2751, allocations: 23.86 kB / 1.054 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.2752, allocations: 44.09 kB / 1.054 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2752, allocations: 0 / 1.054 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2752, allocations: 0 / 1.054 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2752, allocations: 0 / 1.054 GB, free: 5.934 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005298/0.2758, allocations: 410.8 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2758, allocations: 8.031 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.197e-05/0.2759, allocations: 38.73 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.2759, allocations: 12.78 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.276, allocations: 168.3 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.2761, allocations: 384 / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.2761, allocations: 8.359 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.2763, allocations: 61.8 kB / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.2763, allocations: 0 / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.2763, allocations: 11.98 kB / 1.055 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2763, allocations: 0 / 1.055 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.2764, allocations: 31.98 kB / 1.055 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.2769, allocations: 280.8 kB / 1.055 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.277, allocations: 46.56 kB / 1.055 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.088e-05/0.2771, allocations: 28.92 kB / 1.055 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.2772, allocations: 0 / 1.055 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.2774, allocations: 67.33 kB / 1.055 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 2.785e-06/0.2774, allocations: 0 / 1.055 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003569/0.2777, allocations: 117.5 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.2778, allocations: 51.41 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.2779, allocations: 121.8 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.2779, allocations: 29.7 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.278, allocations: 88.12 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.278, allocations: 15.81 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.2781, allocations: 21.7 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2782, allocations: 326.8 kB / 1.056 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-05/0.2782, allocations: 11.98 kB / 1.056 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.178e-05/0.2783, allocations: 56.22 kB / 1.056 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.2785, allocations: 72.2 kB / 1.056 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2785, allocations: 0 / 1.056 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001995/0.2787, allocations: 85.61 kB / 1.056 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2787, allocations: 12.16 kB / 1.056 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2787, allocations: 0 / 1.056 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2788, allocations: 3.938 kB / 1.056 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.2788, allocations: 11.98 kB / 1.056 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2789, allocations: 0 / 1.056 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.704e-05/0.2789, allocations: 7.906 kB / 1.056 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.2789, allocations: 4 kB / 1.056 GB, free: 3.492 MB / 0.8106 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 8.647e-05/0.279, allocations: 121.7 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.279, allocations: 4 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.2791, allocations: 15.95 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2791, allocations: 0 / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2791, allocations: 0 / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2791, allocations: 0 / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.2795, allocations: 350.4 kB / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2795, allocations: 320 / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/0.2796, allocations: 8 kB / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2796, allocations: 4 kB / 1.057 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.2796, allocations: 3.984 kB / 1.057 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2796, allocations: 4.312 kB / 1.057 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2796, allocations: 0 / 1.057 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.2799, allocations: 179.5 kB / 1.057 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.2799, allocations: 85.02 kB / 1.057 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.2799, allocations: 7.875 kB / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.378e-05/0.28, allocations: 19.92 kB / 1.057 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.2801, allocations: 4 kB / 1.057 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.2801, allocations: 0 / 1.057 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.022e-05/0.2801, allocations: 91.27 kB / 1.057 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2801, allocations: 0 / 1.057 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002335/0.2804, allocations: 8 kB / 1.057 GB, free: 2.504 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: 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.0005982/0.281, allocations: 0.7202 MB / 1.058 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.2812, allocations: 55.89 kB / 1.058 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2812, allocations: 0 / 1.058 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.2813, allocations: 24.3 kB / 1.058 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.2816, allocations: 15.94 kB / 1.058 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.2832, allocations: 1.395 MB / 1.059 GB, free: 172 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.2835, allocations: 0.6848 MB / 1.06 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.2836, allocations: 7.984 kB / 1.06 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.2836, allocations: 19.42 kB / 1.06 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.2836, allocations: 3.938 kB / 1.06 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2039/0.4875, allocations: 1.413 MB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003507/0.4879, allocations: 234.7 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.198, allocations: 4 kB / 1.062 GB, free: 13.9 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches