Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.001886/0.001886, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002373/0.002373, allocations: 198.7 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.352/2.352, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.261/4.261, allocations: 461.9 MB / 0.7343 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 65.84 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4282, allocations: 157.4 MB / 1.052 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.005449/0.4337, allocations: 1.572 MB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002316/0.4361, allocations: 0.7522 MB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.455e-05/0.4362, allocations: 4 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.2e-05/0.4363, allocations: 3.938 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.4364, allocations: 15.84 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009216/0.4374, allocations: 111.8 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.4376, allocations: 83.77 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.4377, allocations: 12 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.4379, allocations: 51.77 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.4381, allocations: 43.83 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.4381, allocations: 8 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.4385, allocations: 91.91 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.4386, allocations: 31.91 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.031e-05/0.4387, allocations: 35.86 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004232/0.4391, allocations: 159.8 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.4391, allocations: 0 / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.185e-06/0.4392, allocations: 3.938 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.4392, allocations: 0 / 1.055 GB, free: 5.625 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001091/0.4403, allocations: 454.6 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.4403, allocations: 8.625 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.582e-05/0.4404, allocations: 38.75 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.4405, allocations: 12.84 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.4407, allocations: 176.3 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.4408, allocations: 8.375 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.445e-05/0.4408, allocations: 4.375 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.4412, allocations: 97.62 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4412, allocations: 0 / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.4412, allocations: 0 / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4413, allocations: 4 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002669/0.4415, allocations: 47.97 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.4431, allocations: 328.5 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.4434, allocations: 58.55 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.4436, allocations: 44.84 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.4436, allocations: 11.98 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000393/0.444, allocations: 91.39 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 2.594e-06/0.444, allocations: 0 / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0009415/0.445, allocations: 185.5 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.4451, allocations: 55.41 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.4453, allocations: 133 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.4453, allocations: 29.7 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.779e-05/0.4454, allocations: 96.28 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.4455, allocations: 23.88 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.06e-05/0.4456, allocations: 29.72 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.4458, allocations: 326.8 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002725/0.4486, allocations: 27.98 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.4488, allocations: 77.92 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.4491, allocations: 109.9 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4491, allocations: 0 / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004736/0.4496, allocations: 137.5 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.4497, allocations: 5.781 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.4497, allocations: 4 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.4497, allocations: 4.156 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.4499, allocations: 27.92 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.4499, allocations: 7.938 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.4501, allocations: 7.906 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.4501, allocations: 4 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,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 (15): * Single equations (assignments): 15 * 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.0001757/0.4503, allocations: 131.2 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.4504, allocations: 11.89 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.894e-05/0.4504, allocations: 12.38 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4505, allocations: 7.938 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4505, allocations: 0 / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4505, allocations: 0 / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009585/0.4515, allocations: 426.4 kB / 1.058 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4515, allocations: 0 / 1.058 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.546e-05/0.4516, allocations: 7.984 kB / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.4516, allocations: 0 / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.4516, allocations: 4 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.4516, allocations: 8 kB / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4516, allocations: 3.938 kB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006085/0.4523, allocations: 243.3 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.675e-05/0.4523, allocations: 85.02 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.4524, allocations: 3.984 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.4526, allocations: 8 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.698e-05/0.4527, allocations: 11.92 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.4527, allocations: 4 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001006/0.4528, allocations: 95.27 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4529, allocations: 0 / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006469/0.4535, allocations: 43.98 kB / 1.059 GB, free: 1.531 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001479/0.455, allocations: 0.8504 MB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004601/0.4555, allocations: 95.95 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4555, allocations: 4 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.4557, allocations: 52.22 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.4563, allocations: 25.3 kB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.4596, allocations: 1.603 MB / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.4601, allocations: 0.6924 MB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.169e-05/0.4602, allocations: 4 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.4602, allocations: 23.42 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of SimCode: time 6.41e-07/0.4603, allocations: 0 / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2579/0.7182, allocations: 2.82 MB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004611/0.7187, allocations: 271.6 kB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.027/4.746, allocations: 1.688 kB / 1.065 GB, free: 11.04 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches