Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 101.2 kB / 15.99 MB, free: 6.367 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.001819/0.001819, allocations: 195.6 kB / 16.91 MB, free: 6.195 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.449/1.449, 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 9.1.3-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.3 MB / 0.665 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 64.77 kB / 0.8127 GB, free: 33.36 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2393, allocations: 140.4 MB / 0.9498 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.002076/0.2414, allocations: 0.7709 MB / 0.9505 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009471/0.2424, allocations: 0.8001 MB / 0.9513 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.2425, allocations: 0 / 0.9513 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.912e-05/0.2425, allocations: 7.922 kB / 0.9513 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.606e-05/0.2426, allocations: 11.92 kB / 0.9513 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.2427, allocations: 8 kB / 0.9513 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.153e-05/0.2428, allocations: 39.91 kB / 0.9514 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.243, allocations: 16 kB / 0.9514 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.692e-05/0.2431, allocations: 23.86 kB / 0.9514 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.652e-05/0.2431, allocations: 15.92 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.2431, allocations: 4 kB / 0.9514 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.2431, allocations: 4 kB / 0.9514 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.2432, allocations: 11.92 kB / 0.9515 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.2432, allocations: 11.94 kB / 0.9515 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.961e-05/0.2433, allocations: 35.92 kB / 0.9515 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2433, allocations: 0 / 0.9515 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2433, allocations: 0 / 0.9515 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.2433, allocations: 4 kB / 0.9515 GB, free: 7.484 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005116/0.2438, allocations: 369.8 kB / 0.9519 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2439, allocations: 8.031 kB / 0.9519 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.2439, allocations: 4.938 kB / 0.9519 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.2441, allocations: 176.2 kB / 0.952 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.2441, allocations: 4.375 kB / 0.952 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-06/0.2441, allocations: 384 / 0.952 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.2444, allocations: 70.22 kB / 0.9521 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2444, allocations: 4.125 kB / 0.9521 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.2444, allocations: 11.92 kB / 0.9521 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2444, allocations: 0 / 0.9521 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.2447, allocations: 59.94 kB / 0.9522 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.2451, allocations: 268.9 kB / 0.9524 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.2453, allocations: 62.47 kB / 0.9525 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.2454, allocations: 36.92 kB / 0.9525 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.2455, allocations: 0 / 0.9525 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.2455, allocations: 38.55 kB / 0.9526 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2455, allocations: 0 / 0.9526 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005267/0.246, allocations: 129.4 kB / 0.9527 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.2461, allocations: 55.41 kB / 0.9527 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.327e-05/0.2462, allocations: 113.8 kB / 0.9529 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.2462, allocations: 25.7 kB / 0.9529 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.2463, allocations: 88.12 kB / 0.953 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.2463, allocations: 7.906 kB / 0.953 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.2463, allocations: 9.719 kB / 0.953 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.2464, allocations: 318.8 kB / 0.9533 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.2466, allocations: 35.95 kB / 0.9533 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.2467, allocations: 27.97 kB / 0.9533 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.247, allocations: 68.78 kB / 0.9534 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.247, allocations: 3.938 kB / 0.9534 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003209/0.2473, allocations: 105.5 kB / 0.9535 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2474, allocations: 4 kB / 0.9535 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2474, allocations: 8 kB / 0.9535 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2474, allocations: 3.938 kB / 0.9535 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.2475, allocations: 15.97 kB / 0.9535 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.2475, allocations: 0 / 0.9535 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.853e-05/0.2476, allocations: 11.98 kB / 0.9536 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.2476, allocations: 4 kB / 0.9536 GB, free: 5.152 MB / 0.7325 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 (3): * Single equations (assignments): 3 * 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 7.703e-05/0.2477, allocations: 121.3 kB / 0.9537 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.2477, allocations: 0 / 0.9537 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.2481, allocations: 109.5 kB / 0.9538 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2482, allocations: 0 / 0.9538 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2482, allocations: 4 kB / 0.9538 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.2482, allocations: 7.984 kB / 0.9538 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.2483, allocations: 177.4 kB / 0.954 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2484, allocations: 4 kB / 0.954 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.597e-05/0.2485, allocations: 11.98 kB / 0.954 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.2485, allocations: 0 / 0.954 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.2485, allocations: 0 / 0.954 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2485, allocations: 4 kB / 0.954 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2485, allocations: 3.984 kB / 0.954 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.2489, allocations: 191.8 kB / 0.9542 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.2489, allocations: 85.08 kB / 0.9543 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.2489, allocations: 7.938 kB / 0.9543 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.249, allocations: 11.98 kB / 0.9543 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.2491, allocations: 11.98 kB / 0.9543 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.2491, allocations: 0 / 0.9543 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.298e-05/0.2491, allocations: 91.56 kB / 0.9544 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2492, allocations: 4 kB / 0.9544 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002247/0.2494, allocations: 7.906 kB / 0.9544 GB, free: 4.215 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0001354/0.2495, allocations: 99.25 kB / 0.9545 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000326/0.2499, allocations: 67.92 kB / 0.9545 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2499, allocations: 4 kB / 0.9545 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.25, allocations: 39.91 kB / 0.9546 GB, free: 4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.2503, allocations: 14.31 kB / 0.9546 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.2507, allocations: 155.3 kB / 0.9547 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.2509, allocations: 0.6844 MB / 0.9554 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.2509, allocations: 11.44 kB / 0.9554 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.2509, allocations: 0 / 0.9554 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of Templates: time 0.00208/0.253, allocations: 0.7414 MB / 0.9561 GB, free: 2.348 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches