Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, 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.002001/0.002001, allocations: 193.5 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.544/1.544, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.597/2.597, allocations: 390.2 MB / 0.6647 GB, free: 496 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9269/0.9283, allocations: 140.4 MB / 0.9496 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.002788/0.9311, allocations: 0.6543 MB / 0.9502 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.9324, allocations: 0.8118 MB / 0.951 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.802e-05/0.9325, allocations: 1.312 kB / 0.951 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.314e-05/0.9326, allocations: 3.938 kB / 0.951 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.046e-05/0.9327, allocations: 3.938 kB / 0.951 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.9329, allocations: 14.42 kB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.933, allocations: 21.42 kB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.9332, allocations: 14.39 kB / 0.9511 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.04e-05/0.9333, allocations: 4 kB / 0.9511 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/0.9333, allocations: 14.05 kB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.9334, allocations: 2.906 kB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.9334, allocations: 1.875 kB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.9334, allocations: 4 kB / 0.9511 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.9335, allocations: 6.5 kB / 0.9511 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.913e-05/0.9336, allocations: 23.98 kB / 0.9511 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.9336, allocations: 4 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.697e-06/0.9336, allocations: 1.594 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.9336, allocations: 3.984 kB / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005047/0.9341, allocations: 335.6 kB / 0.9515 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.9342, allocations: 13.27 kB / 0.9515 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.9342, allocations: 2.281 kB / 0.9515 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.9344, allocations: 165.4 kB / 0.9516 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.9344, allocations: 5.969 kB / 0.9517 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.9344, allocations: 6 kB / 0.9517 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.9346, allocations: 48.8 kB / 0.9517 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.9347, allocations: 8.062 kB / 0.9517 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.9347, allocations: 5.25 kB / 0.9517 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.9347, allocations: 0 / 0.9517 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.9349, allocations: 34.64 kB / 0.9518 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.9353, allocations: 245.4 kB / 0.952 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.9355, allocations: 39 kB / 0.952 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.9357, allocations: 18.38 kB / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.9357, allocations: 3.984 kB / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.9357, allocations: 39.81 kB / 0.9521 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.9357, allocations: 4 kB / 0.9521 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004838/0.9362, allocations: 76.48 kB / 0.9522 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.9363, allocations: 52.78 kB / 0.9522 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.9363, allocations: 98.86 kB / 0.9523 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.9364, allocations: 25.7 kB / 0.9523 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.9364, allocations: 81.27 kB / 0.9524 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.9364, allocations: 21.33 kB / 0.9524 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.9365, allocations: 11.19 kB / 0.9524 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.9366, allocations: 316 kB / 0.9527 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.9367, allocations: 17.3 kB / 0.9528 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.9368, allocations: 21.64 kB / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.937, allocations: 43.12 kB / 0.9528 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9371, allocations: 0 / 0.9528 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002574/0.9373, allocations: 73.19 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.9374, allocations: 5.031 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.9374, allocations: 0 / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.9374, allocations: 1.312 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.9375, allocations: 5 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.9375, allocations: 9.047 kB / 0.9529 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.9376, allocations: 7.109 kB / 0.9529 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.9376, allocations: 1.031 kB / 0.9529 GB, free: 6.031 MB / 0.7169 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 (2): * Single equations (assignments): 2 * 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 6.593e-05/0.9377, allocations: 115.9 kB / 0.953 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.9377, allocations: 5 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.938, allocations: 74.02 kB / 0.9531 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.9381, allocations: 5.812 kB / 0.9531 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.9381, allocations: 0 / 0.9531 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.9381, allocations: 3.984 kB / 0.9531 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.9383, allocations: 162.3 kB / 0.9533 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.9383, allocations: 0 / 0.9533 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.837e-05/0.9384, allocations: 10.95 kB / 0.9533 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.9384, allocations: 0 / 0.9533 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.9384, allocations: 0 / 0.9533 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.9384, allocations: 1.75 kB / 0.9533 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.9384, allocations: 3.938 kB / 0.9533 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.9387, allocations: 169.9 kB / 0.9534 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.9387, allocations: 78.33 kB / 0.9535 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.9388, allocations: 1.219 kB / 0.9535 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.9389, allocations: 7.547 kB / 0.9535 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.9389, allocations: 1.562 kB / 0.9535 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.939, allocations: 0 / 0.9535 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.455e-05/0.939, allocations: 91.52 kB / 0.9536 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.939, allocations: 0 / 0.9536 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003636/0.9394, allocations: 2.688 kB / 0.9536 GB, free: 5.285 MB / 0.7169 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 (2): * Single equations (assignments): 2 * 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.0002093/0.9396, allocations: 99.03 kB / 0.9537 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.9399, allocations: 36.91 kB / 0.9537 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.9399, allocations: 64 / 0.9537 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.9401, allocations: 31.75 kB / 0.9538 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.9406, allocations: 7.188 kB / 0.9538 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.941, allocations: 109.8 kB / 0.9539 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.9412, allocations: 0.6807 MB / 0.9546 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.9413, allocations: 1.375 kB / 0.9546 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.9413, allocations: 12.94 kB / 0.9546 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.9413, allocations: 0 / 0.9546 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of Templates: time 0.004161/0.9455, allocations: 424.8 kB / 0.955 GB, free: 4.121 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches