Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.1.0-maint.11.x/package.mo", uses=false) 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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 104.7 kB / 15.98 MB, free: 6.34 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.001815/0.001815, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.646/2.646, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 68.05 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3344, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002893/0.3374, allocations: 1.562 MB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3387, allocations: 0.7401 MB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/0.3387, allocations: 0 / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.3388, allocations: 3.938 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.79e-05/0.3388, allocations: 19.86 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.3393, allocations: 115.8 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.3395, allocations: 79.84 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.222e-05/0.3396, allocations: 15.98 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/0.3397, allocations: 43.78 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.3398, allocations: 43.83 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.3398, allocations: 12 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.34, allocations: 95.91 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.34, allocations: 23.91 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.3401, allocations: 35.86 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.3403, allocations: 112 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.3403, allocations: 0 / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.286e-06/0.3403, allocations: 3.938 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3403, allocations: 3.938 kB / 1.067 GB, free: 12.21 MB / 0.8419 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.0006502/0.3409, allocations: 458.5 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.341, allocations: 16.03 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.341, allocations: 4.938 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.3412, allocations: 184.1 kB / 1.068 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.3412, allocations: 4.375 kB / 1.068 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.3413, allocations: 4.375 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.3415, allocations: 93.88 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3415, allocations: 3.938 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.3415, allocations: 0 / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3415, allocations: 4 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.3417, allocations: 47.97 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.3423, allocations: 320.7 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.3425, allocations: 70.56 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.3426, allocations: 44.84 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.3426, allocations: 4 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.3428, allocations: 95.34 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.3429, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0004893/0.3433, allocations: 181.5 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.3434, allocations: 63.39 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.3435, allocations: 125.7 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.3436, allocations: 33.7 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.3436, allocations: 92.38 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.3437, allocations: 15.75 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.3437, allocations: 37.64 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3439, allocations: 326.8 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/0.344, allocations: 27.98 kB / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.3441, allocations: 77.98 kB / 1.069 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.3443, allocations: 105.9 kB / 1.069 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3443, allocations: 3.938 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000259/0.3446, allocations: 137.4 kB / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.3446, allocations: 7.984 kB / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3446, allocations: 8.156 kB / 1.069 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3446, allocations: 4 kB / 1.069 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.3447, allocations: 8 kB / 1.069 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.3448, allocations: 12.3 kB / 1.069 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.809e-05/0.3448, allocations: 11.91 kB / 1.069 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3448, allocations: 4 kB / 1.069 GB, free: 9.352 MB / 0.8419 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.0001083/0.345, allocations: 131.5 kB / 1.07 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.345, allocations: 11.84 kB / 1.07 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.345, allocations: 16.36 kB / 1.07 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.345, allocations: 0 / 1.07 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.345, allocations: 0 / 1.07 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.345, allocations: 0 / 1.07 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005934/0.3456, allocations: 434.5 kB / 1.07 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3457, allocations: 0 / 1.07 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.3457, allocations: 7.938 kB / 1.07 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3457, allocations: 0 / 1.07 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3457, allocations: 7.984 kB / 1.07 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3457, allocations: 4 kB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3458, allocations: 3.938 kB / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.3461, allocations: 247.3 kB / 1.07 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.3462, allocations: 85.02 kB / 1.07 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.3462, allocations: 0 / 1.07 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3463, allocations: 11.98 kB / 1.07 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.3464, allocations: 11.94 kB / 1.07 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3464, allocations: 3.984 kB / 1.07 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.958e-05/0.3465, allocations: 95.27 kB / 1.071 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3465, allocations: 0 / 1.071 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000303/0.3468, allocations: 40 kB / 1.071 GB, free: 8.164 MB / 0.8419 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.0003799/0.3472, allocations: 183.2 kB / 1.071 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002779/0.3475, allocations: 95.83 kB / 1.071 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3475, allocations: 0 / 1.071 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.3476, allocations: 51.92 kB / 1.071 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.3479, allocations: 8.297 kB / 1.071 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.3484, allocations: 245.9 kB / 1.071 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.3487, allocations: 0.6961 MB / 1.072 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.3487, allocations: 19.42 kB / 1.072 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3488, allocations: 0 / 1.072 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of Templates: time 0.003796/0.3526, allocations: 1.789 MB / 1.074 GB, free: 5.039 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches