Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_10_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.004724/0.004724, allocations: 103 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.001161/0.001161, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 59.84 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3175, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002974/0.3206, allocations: 1.47 MB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008431/0.3214, allocations: 451 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.3215, allocations: 0 / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.3216, allocations: 7.922 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.181e-05/0.3216, allocations: 7.875 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.3219, allocations: 19.91 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.322, allocations: 51.84 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3221, allocations: 12 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.3222, allocations: 23.92 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.001e-05/0.3223, allocations: 27.84 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.3223, allocations: 4 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.667e-05/0.3223, allocations: 4 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.3224, allocations: 7.984 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.3225, allocations: 27.86 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.3226, allocations: 42.7 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3226, allocations: 4 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3226, allocations: 3.938 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3226, allocations: 0 / 1.168 GB, free: 5.145 MB / 0.92 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.0005688/0.3232, allocations: 407.6 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3232, allocations: 15.95 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.932e-05/0.3233, allocations: 30.75 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.3233, allocations: 4.938 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3234, allocations: 180.2 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.3235, allocations: 4.375 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.3235, allocations: 8.375 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.3237, allocations: 65.78 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.3237, allocations: 0 / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3237, allocations: 0 / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3237, allocations: 0 / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.3239, allocations: 35.91 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.3243, allocations: 280.8 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.3244, allocations: 42.55 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.965e-05/0.3245, allocations: 24.94 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3245, allocations: 0 / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.3247, allocations: 75.33 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.833e-06/0.3248, allocations: 0 / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0003599/0.3251, allocations: 105.6 kB / 1.169 GB, free: 3.699 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.3252, allocations: 51.41 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/0.3253, allocations: 117.8 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.3253, allocations: 29.7 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.3254, allocations: 88.05 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.3254, allocations: 19.84 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.3255, allocations: 21.7 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3256, allocations: 318.8 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.3256, allocations: 16.23 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.844e-05/0.3257, allocations: 48.28 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.3259, allocations: 76.2 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3259, allocations: 0 / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001997/0.3261, allocations: 97.44 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3261, allocations: 8 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3261, allocations: 0 / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3261, allocations: 0 / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.917e-05/0.3262, allocations: 16.36 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3263, allocations: 0 / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.385e-05/0.3263, allocations: 7.938 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.3263, allocations: 4 kB / 1.17 GB, free: 2.715 MB / 0.92 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 0.0001166/0.3265, allocations: 133.8 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.3265, allocations: 7.906 kB / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.3265, allocations: 11.95 kB / 1.17 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3265, allocations: 0 / 1.17 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3265, allocations: 0 / 1.17 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3265, allocations: 0 / 1.17 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.3269, allocations: 342.5 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.327, allocations: 4 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.327, allocations: 4 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.327, allocations: 0 / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.327, allocations: 7.922 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.327, allocations: 4.094 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3271, allocations: 0 / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.3273, allocations: 183.4 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.3274, allocations: 85.11 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.3274, allocations: 0 / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.3275, allocations: 12.05 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.3275, allocations: 8 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3275, allocations: 0 / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.026e-05/0.3276, allocations: 91.27 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3276, allocations: 0 / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002414/0.3278, allocations: 12 kB / 1.171 GB, free: 1.723 MB / 0.92 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.0005476/0.3284, allocations: 0.724 MB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.3286, allocations: 55.89 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3286, allocations: 4.312 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.142e-05/0.3287, allocations: 23.98 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.329, allocations: 12.22 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.3305, allocations: 1.398 MB / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.3307, allocations: 0.6846 MB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.25e-05/0.3308, allocations: 7.984 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.3308, allocations: 19.19 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.3308, allocations: 3.938 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.349, allocations: 1.628 MB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.215, allocations: 12.59 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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