Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001593/0.001593, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001672/0.001672, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.581/1.581, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 443.5 MB / 0.7304 GB, free: 13.92 MB / 0.5762 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 71.88 kB / 1.059 GB, free: 408 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3299, allocations: 160.7 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002727/0.3326, allocations: 1.518 MB / 1.218 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3339, allocations: 0.7761 MB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.544e-05/0.334, allocations: 0 / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/0.334, allocations: 7.875 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.578e-05/0.3341, allocations: 11.86 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.3346, allocations: 135.6 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.3347, allocations: 91.7 kB / 1.219 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.732e-05/0.3348, allocations: 15.98 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.743e-05/0.3349, allocations: 39.91 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.16e-05/0.335, allocations: 39.83 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.335, allocations: 8 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.3352, allocations: 107.8 kB / 1.219 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.3352, allocations: 27.89 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.3353, allocations: 39.8 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.3355, allocations: 155.5 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3356, allocations: 0 / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3356, allocations: 4 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.3356, allocations: 3.938 kB / 1.219 GB, free: 12.38 MB / 0.9669 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.0006842/0.3362, allocations: 462.3 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3363, allocations: 8.031 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.3363, allocations: 8.891 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.3365, allocations: 184.2 kB / 1.22 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.3365, allocations: 4.375 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.3365, allocations: 12.38 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.3367, allocations: 89.88 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3368, allocations: 4 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3368, allocations: 0 / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3368, allocations: 0 / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.3369, allocations: 43.97 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.3375, allocations: 328.8 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.3377, allocations: 58.59 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.3378, allocations: 40.83 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.3378, allocations: 0 / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.338, allocations: 99.3 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.338, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0004996/0.3385, allocations: 185.5 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.3385, allocations: 55.56 kB / 1.221 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3387, allocations: 133.5 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.3387, allocations: 29.7 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.3388, allocations: 96.34 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.3388, allocations: 23.8 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.3388, allocations: 41.64 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.339, allocations: 322.8 kB / 1.221 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.163e-05/0.3391, allocations: 27.98 kB / 1.221 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3392, allocations: 69.98 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.3394, allocations: 109.9 kB / 1.221 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3394, allocations: 0 / 1.221 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002666/0.3396, allocations: 145.4 kB / 1.221 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3397, allocations: 4 kB / 1.221 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3397, allocations: 4 kB / 1.221 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3397, allocations: 0 / 1.221 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.3398, allocations: 15.98 kB / 1.221 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.3398, allocations: 7.938 kB / 1.221 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.3398, allocations: 7.938 kB / 1.221 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.3399, allocations: 12.16 kB / 1.222 GB, free: 9.516 MB / 0.9669 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.0001609/0.34, allocations: 127.6 kB / 1.222 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.34, allocations: 7.953 kB / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.3401, allocations: 12.31 kB / 1.222 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3401, allocations: 4 kB / 1.222 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3401, allocations: 0 / 1.222 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3401, allocations: 0 / 1.222 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.3406, allocations: 442.6 kB / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3406, allocations: 0 / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.3407, allocations: 7.938 kB / 1.222 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3407, allocations: 4 kB / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.3407, allocations: 3.984 kB / 1.222 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3407, allocations: 0 / 1.222 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3407, allocations: 3.938 kB / 1.222 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.3411, allocations: 251.4 kB / 1.222 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.3411, allocations: 85 kB / 1.222 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.3411, allocations: 8 kB / 1.222 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.3412, allocations: 4 kB / 1.222 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.3413, allocations: 7.922 kB / 1.222 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.3413, allocations: 7.984 kB / 1.222 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.369e-05/0.3413, allocations: 99.27 kB / 1.223 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3413, allocations: 0 / 1.223 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003021/0.3416, allocations: 39.94 kB / 1.223 GB, free: 8.324 MB / 0.9669 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.0003515/0.342, allocations: 171.5 kB / 1.223 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002699/0.3423, allocations: 91.83 kB / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3423, allocations: 320 / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.3424, allocations: 51.95 kB / 1.223 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.3427, allocations: 11.98 kB / 1.223 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.3431, allocations: 211.4 kB / 1.223 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3434, allocations: 0.6885 MB / 1.224 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.553e-05/0.3434, allocations: 8 kB / 1.224 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.3435, allocations: 15.38 kB / 1.224 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of SimCode: time 3.3e-07/0.3435, allocations: 0 / 1.224 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of Templates: time 0.00483/0.3483, allocations: 1.732 MB / 1.225 GB, free: 5.32 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.304516389034688]