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.001518/0.001518, allocations: 111.2 kB / 15.99 MB, free: 5.91 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.001768/0.001768, allocations: 193.3 kB / 16.91 MB, free: 5.754 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.407/1.407, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.496/2.496, allocations: 390.2 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 66.3 kB / 0.8127 GB, free: 32.45 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3126, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.002542/0.3152, allocations: 0.7182 MB / 0.9505 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3164, allocations: 0.8177 MB / 0.9513 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.3164, allocations: 0 / 0.9513 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.3165, allocations: 0 / 0.9513 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.57e-05/0.3166, allocations: 3.938 kB / 0.9513 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.3168, allocations: 8 kB / 0.9513 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.241e-05/0.3169, allocations: 19.98 kB / 0.9513 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.317, allocations: 4 kB / 0.9513 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.544e-05/0.3171, allocations: 23.86 kB / 0.9514 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.3171, allocations: 11.98 kB / 0.9514 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.3171, allocations: 0 / 0.9514 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.3172, allocations: 4 kB / 0.9514 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.254e-05/0.3172, allocations: 3.984 kB / 0.9514 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.3172, allocations: 7.938 kB / 0.9514 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.942e-05/0.3173, allocations: 15.97 kB / 0.9514 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3173, allocations: 0 / 0.9514 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3173, allocations: 0 / 0.9514 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3173, allocations: 0 / 0.9514 GB, free: 7.586 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000481/0.3178, allocations: 343.8 kB / 0.9517 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3179, allocations: 8.031 kB / 0.9517 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.3179, allocations: 0.9375 kB / 0.9517 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.318, allocations: 172.2 kB / 0.9519 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.3181, allocations: 384 / 0.9519 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3181, allocations: 384 / 0.9519 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.3183, allocations: 54.17 kB / 0.952 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3183, allocations: 192 / 0.952 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3183, allocations: 7.938 kB / 0.952 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3183, allocations: 7.938 kB / 0.952 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.3185, allocations: 35.95 kB / 0.952 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.3189, allocations: 241 kB / 0.9522 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.319, allocations: 42.48 kB / 0.9523 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/0.3191, allocations: 28.91 kB / 0.9523 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3191, allocations: 0 / 0.9523 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3192, allocations: 34.5 kB / 0.9523 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.3192, allocations: 0 / 0.9523 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003608/0.3195, allocations: 85.7 kB / 0.9524 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.3196, allocations: 55.41 kB / 0.9525 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.3197, allocations: 97.84 kB / 0.9526 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3197, allocations: 29.69 kB / 0.9526 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.3198, allocations: 88.14 kB / 0.9527 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.3198, allocations: 3.906 kB / 0.9527 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.3198, allocations: 9.719 kB / 0.9527 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.32, allocations: 318.8 kB / 0.953 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.121e-05/0.32, allocations: 15.98 kB / 0.953 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.476e-05/0.3201, allocations: 19.97 kB / 0.953 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.3203, allocations: 40.77 kB / 0.9531 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3203, allocations: 0 / 0.9531 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002018/0.3205, allocations: 73.66 kB / 0.9531 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.3205, allocations: 4 kB / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3205, allocations: 0 / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3206, allocations: 0 / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.364e-05/0.3207, allocations: 11.98 kB / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3207, allocations: 0 / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.3207, allocations: 4 kB / 0.9532 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.3207, allocations: 0 / 0.9532 GB, free: 5.562 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 (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 8.623e-05/0.3208, allocations: 117.8 kB / 0.9533 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.3209, allocations: 11.91 kB / 0.9533 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.3211, allocations: 68.72 kB / 0.9533 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3211, allocations: 0 / 0.9533 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3211, allocations: 0 / 0.9533 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3211, allocations: 3.938 kB / 0.9533 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.3213, allocations: 165.6 kB / 0.9535 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3213, allocations: 0 / 0.9535 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-05/0.3214, allocations: 12.02 kB / 0.9535 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3214, allocations: 0 / 0.9535 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3214, allocations: 0 / 0.9535 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3214, allocations: 4 kB / 0.9535 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3214, allocations: 0 / 0.9535 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.3217, allocations: 167.4 kB / 0.9537 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.3217, allocations: 85.12 kB / 0.9538 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.3217, allocations: 0 / 0.9538 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.3218, allocations: 8 kB / 0.9538 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.3219, allocations: 7.984 kB / 0.9538 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.3219, allocations: 0 / 0.9538 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.736e-05/0.3219, allocations: 79.28 kB / 0.9539 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3219, allocations: 0 / 0.9539 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002183/0.3222, allocations: 4 kB / 0.9539 GB, free: 4.742 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 (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.0001707/0.3223, allocations: 107.2 kB / 0.954 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.3226, allocations: 35.95 kB / 0.954 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3226, allocations: 0 / 0.954 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.111e-05/0.3227, allocations: 23.92 kB / 0.954 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.323, allocations: 16.38 kB / 0.954 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.3233, allocations: 135.3 kB / 0.9542 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.3236, allocations: 0.6805 MB / 0.9548 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.3237, allocations: 11.44 kB / 0.9548 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.3237, allocations: 0 / 0.9548 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of Templates: time 0.002054/0.3257, allocations: 0.5349 MB / 0.9554 GB, free: 3.145 MB / 0.7325 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/jenkins1/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