Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 104.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.851/2.851, allocations: 476.7 MB / 0.7611 GB, free: 15.73 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003342/0.003342, allocations: 72.11 kB / 1.104 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9284/0.9317, allocations: 168.7 MB / 1.269 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002454/0.9342, allocations: 1.521 MB / 1.27 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.9354, allocations: 0.7585 MB / 1.271 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.9355, allocations: 0 / 1.271 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.023e-05/0.9355, allocations: 5.828 kB / 1.271 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.264e-05/0.9356, allocations: 14.95 kB / 1.271 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005832/0.9362, allocations: 134.9 kB / 1.271 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.9363, allocations: 90.64 kB / 1.271 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.767e-05/0.9364, allocations: 11.95 kB / 1.271 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.9365, allocations: 42.36 kB / 1.271 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.805e-05/0.9366, allocations: 44.03 kB / 1.271 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.9366, allocations: 8.188 kB / 1.271 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.9369, allocations: 109.9 kB / 1.271 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.9369, allocations: 20.62 kB / 1.271 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.566e-05/0.937, allocations: 42.19 kB / 1.271 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.9373, allocations: 154.1 kB / 1.272 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9373, allocations: 0.6562 kB / 1.272 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9373, allocations: 0.9375 kB / 1.272 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.9373, allocations: 0 / 1.272 GB, free: 5.898 MB / 0.9981 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.0006255/0.9379, allocations: 463.5 kB / 1.272 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.9379, allocations: 10.03 kB / 1.272 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.938, allocations: 42.11 kB / 1.272 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.938, allocations: 13.31 kB / 1.272 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.094e-05/0.9381, allocations: 178 kB / 1.272 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.9381, allocations: 12.83 kB / 1.272 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.9382, allocations: 5.828 kB / 1.272 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.9384, allocations: 89.92 kB / 1.272 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.9384, allocations: 0.9375 kB / 1.272 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.9384, allocations: 0.5938 kB / 1.272 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.9384, allocations: 0.8438 kB / 1.272 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.9386, allocations: 50.22 kB / 1.272 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.9391, allocations: 322.5 kB / 1.273 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.9393, allocations: 57.19 kB / 1.273 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.9394, allocations: 35.72 kB / 1.273 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.9394, allocations: 2.594 kB / 1.273 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/0.9397, allocations: 99.5 kB / 1.273 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.9397, allocations: 0 / 1.273 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.000498/0.9402, allocations: 184.4 kB / 1.273 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.9402, allocations: 60.09 kB / 1.273 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.791e-05/0.9403, allocations: 127.1 kB / 1.273 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.9403, allocations: 31.67 kB / 1.273 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.9404, allocations: 88.75 kB / 1.273 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.9404, allocations: 34.3 kB / 1.273 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.9404, allocations: 35.38 kB / 1.273 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.908e-05/0.9405, allocations: 323.3 kB / 1.274 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-05/0.9406, allocations: 24.02 kB / 1.274 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.505e-05/0.9407, allocations: 81.11 kB / 1.274 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.9409, allocations: 107.1 kB / 1.274 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.9409, allocations: 0.9062 kB / 1.274 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002551/0.9411, allocations: 138.7 kB / 1.274 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.9411, allocations: 6.25 kB / 1.274 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.9411, allocations: 1.062 kB / 1.274 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.9412, allocations: 10.75 kB / 1.274 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.653e-05/0.9412, allocations: 14.89 kB / 1.274 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.9413, allocations: 2.906 kB / 1.274 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.9413, allocations: 18.5 kB / 1.274 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.9413, allocations: 4.969 kB / 1.274 GB, free: 3.676 MB / 0.9981 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 8.613e-05/0.9414, allocations: 138 kB / 1.274 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.9414, allocations: 8.047 kB / 1.274 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.9415, allocations: 6.125 kB / 1.274 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.9415, allocations: 1.547 kB / 1.274 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9415, allocations: 0.9375 kB / 1.274 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.9415, allocations: 0.5625 kB / 1.274 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005246/0.942, allocations: 437.6 kB / 1.275 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.942, allocations: 0.75 kB / 1.275 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.9421, allocations: 4.828 kB / 1.275 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.9421, allocations: 1.469 kB / 1.275 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.9421, allocations: 4.5 kB / 1.275 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9421, allocations: 1.375 kB / 1.275 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9421, allocations: 3.938 kB / 1.275 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.9424, allocations: 252.9 kB / 1.275 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.9424, allocations: 82.94 kB / 1.275 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.9425, allocations: 2.828 kB / 1.275 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.9426, allocations: 6.625 kB / 1.275 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.9426, allocations: 11.72 kB / 1.275 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.9426, allocations: 7.078 kB / 1.275 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.9427, allocations: 95.69 kB / 1.275 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9427, allocations: 12.81 kB / 1.275 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003391/0.943, allocations: 45.23 kB / 1.275 GB, free: 2.781 MB / 0.9981 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.0008303/0.9438, allocations: 0.8359 MB / 1.276 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.9441, allocations: 89.23 kB / 1.276 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9441, allocations: 0 / 1.276 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.9442, allocations: 45.39 kB / 1.276 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.9445, allocations: 22.98 kB / 1.276 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.9462, allocations: 1.607 MB / 1.278 GB, free: 16.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.9465, allocations: 0.6903 MB / 1.278 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.989e-05/0.9466, allocations: 10.5 kB / 1.278 GB, free: 15.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.9466, allocations: 21.52 kB / 1.278 GB, free: 15.89 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.9466, allocations: 0 / 1.278 GB, free: 15.89 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.9738, allocations: 3 MB / 1.281 GB, free: 15.38 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.165/9.139, allocations: 6.469 kB / 1.281 GB, free: 15.38 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.371432458981872]