Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCapGla.portSha.T|heaCapGla.portUns.T|heaCapGla.portSha.Q_flow|heaCapGla.portUns.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCapGla.portSha.T|heaCapGla.portUns.T|heaCapGla.portSha.Q_flow|heaCapGla.portUns.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 61.97 kB / 0.9121 GB, free: 33.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3138, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.00502/0.3189, allocations: 2.235 MB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.3205, allocations: 0.7049 MB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.3207, allocations: 4 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005244/0.3212, allocations: 103.6 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.3214, allocations: 63.47 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.3216, allocations: 39.95 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.3219, allocations: 207 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.3221, allocations: 78.41 kB / 1.072 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.3223, allocations: 75.72 kB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.3225, allocations: 87.56 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.3225, allocations: 20 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.483e-05/0.3226, allocations: 12 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.378e-05/0.3226, allocations: 43.83 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.3228, allocations: 91.53 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.323, allocations: 183.3 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3231, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3231, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.3231, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009587/0.324, allocations: 498.5 kB / 1.073 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3241, allocations: 12.03 kB / 1.073 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.3242, allocations: 16.75 kB / 1.073 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.3246, allocations: 241.7 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.3247, allocations: 16.38 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.3247, allocations: 16.36 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/0.3251, allocations: 151.2 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.3252, allocations: 0 / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.3252, allocations: 8 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3252, allocations: 4 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.3257, allocations: 111.9 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000962/0.3266, allocations: 0.4999 MB / 1.074 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/0.3272, allocations: 170.8 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.3275, allocations: 76.81 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.3275, allocations: 0 / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.3276, allocations: 34.56 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.3276, allocations: 0 / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0007367/0.3283, allocations: 199 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.3284, allocations: 59.34 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.3286, allocations: 157.2 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.3286, allocations: 33.64 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/0.3287, allocations: 124.2 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/0.3288, allocations: 59.16 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.3289, allocations: 25.72 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3291, allocations: 330.8 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.3293, allocations: 51.97 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.3295, allocations: 43.97 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.3299, allocations: 114.5 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3299, allocations: 0 / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000494/0.3304, allocations: 174.6 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3304, allocations: 4 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3304, allocations: 0 / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3305, allocations: 4 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.3307, allocations: 39.91 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3307, allocations: 0 / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.3308, allocations: 16 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.3309, allocations: 4 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001351/0.331, allocations: 135.5 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.102e-05/0.3311, allocations: 15.81 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.087e-05/0.3312, allocations: 21.53 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3312, allocations: 0 / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3312, allocations: 0 / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3312, allocations: 0 / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.3316, allocations: 257.3 kB / 1.076 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3316, allocations: 4 kB / 1.076 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.3319, allocations: 39.97 kB / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3319, allocations: 8 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3319, allocations: 0 / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3319, allocations: 0 / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3319, allocations: 0 / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006989/0.3326, allocations: 327.2 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.212e-05/0.3328, allocations: 93 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.3328, allocations: 8 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.333, allocations: 8 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.333, allocations: 7.984 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.3331, allocations: 4 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001087/0.3332, allocations: 121.5 kB / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3332, allocations: 0 / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004661/0.3337, allocations: 43.84 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (heaCapGla.TUns,heaCapGla.TSha,heaCapSha.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001725/0.3338, allocations: 111.8 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004913/0.3344, allocations: 127.8 kB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3344, allocations: 0 / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.3346, allocations: 67.84 kB / 1.077 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.3352, allocations: 35.91 kB / 1.077 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.3367, allocations: 0.5628 MB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.3371, allocations: 0.7241 MB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.3372, allocations: 17.55 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.3373, allocations: 19.44 kB / 1.078 GB, free: 124 kB / 0.8262 GB Notification: Performance of SimCode: time 4.1e-07/0.3373, allocations: 0 / 1.078 GB, free: 124 kB / 0.8262 GB Notification: Performance of Templates: time 0.005003/0.3423, allocations: 1.47 MB / 1.079 GB, free: 14.7 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches