Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001382, allocations: 105.5 kB / 16.27 MB, free: 5.957 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.001511/0.001511, allocations: 190.3 kB / 17.19 MB, free: 5.59 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.211/2.211, allocations: 390.2 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 68.94 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2673, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.002323/0.2697, allocations: 0.6041 MB / 0.9509 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.2708, allocations: 0.8156 MB / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.2708, allocations: 4 kB / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.2708, allocations: 0 / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.685e-05/0.271, allocations: 3.938 kB / 0.9517 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.2711, allocations: 11.98 kB / 0.9517 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.687e-05/0.2712, allocations: 19.92 kB / 0.9517 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.529e-05/0.2712, allocations: 4 kB / 0.9517 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.2713, allocations: 7.938 kB / 0.9517 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.428e-05/0.2714, allocations: 11.92 kB / 0.9517 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.2714, allocations: 4 kB / 0.9517 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-06/0.2714, allocations: 0 / 0.9517 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.2715, allocations: 0 / 0.9517 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.2715, allocations: 15.92 kB / 0.9518 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.655e-05/0.2716, allocations: 11.97 kB / 0.9518 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2716, allocations: 4 kB / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2716, allocations: 0 / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.2716, allocations: 0 / 0.9518 GB, free: 7.348 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003995/0.272, allocations: 331.7 kB / 0.9521 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.272, allocations: 8.031 kB / 0.9521 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.2721, allocations: 8.875 kB / 0.9521 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.2722, allocations: 168.3 kB / 0.9523 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.2722, allocations: 4.375 kB / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.2722, allocations: 384 / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.2724, allocations: 46.2 kB / 0.9523 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2724, allocations: 192 / 0.9523 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.2724, allocations: 7.922 kB / 0.9523 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.2724, allocations: 0 / 0.9523 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.387e-05/0.2725, allocations: 8 kB / 0.9523 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.2726, allocations: 153.7 kB / 0.9525 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.9e-05/0.2727, allocations: 28.67 kB / 0.9525 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.2728, allocations: 12.92 kB / 0.9525 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.2728, allocations: 0 / 0.9525 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.2728, allocations: 42.48 kB / 0.9526 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.2728, allocations: 3.938 kB / 0.9526 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0002012/0.273, allocations: 53.62 kB / 0.9526 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.2731, allocations: 51.41 kB / 0.9527 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.255e-05/0.2732, allocations: 106 kB / 0.9528 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.2732, allocations: 25.7 kB / 0.9528 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.2732, allocations: 84.14 kB / 0.9529 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.2733, allocations: 3.906 kB / 0.9529 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.2733, allocations: 13.72 kB / 0.9529 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.2734, allocations: 318.8 kB / 0.9532 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.2734, allocations: 4 kB / 0.9532 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.297e-05/0.2735, allocations: 12 kB / 0.9532 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.779e-05/0.2736, allocations: 20.78 kB / 0.9532 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2736, allocations: 0 / 0.9532 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001045/0.2737, allocations: 49.67 kB / 0.9533 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.2737, allocations: 8 kB / 0.9533 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2737, allocations: 3.938 kB / 0.9533 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2737, allocations: 0 / 0.9533 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.2738, allocations: 4.094 kB / 0.9533 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2738, allocations: 4 kB / 0.9533 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.2738, allocations: 0 / 0.9533 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.2738, allocations: 3.984 kB / 0.9533 GB, free: 5.566 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 (1): * Single equations (assignments): 1 * 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.594e-05/0.2739, allocations: 115.8 kB / 0.9534 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.2739, allocations: 0 / 0.9534 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.974e-05/0.274, allocations: 11.06 kB / 0.9534 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.274, allocations: 0 / 0.9534 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.274, allocations: 3.938 kB / 0.9534 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.274, allocations: 8 kB / 0.9534 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.2741, allocations: 145.7 kB / 0.9536 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2741, allocations: 0 / 0.9536 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.2741, allocations: 7.984 kB / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2742, allocations: 0 / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2742, allocations: 4.188 kB / 0.9536 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2742, allocations: 4 kB / 0.9536 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2742, allocations: 4 kB / 0.9536 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.2743, allocations: 73.12 kB / 0.9537 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.2744, allocations: 81.02 kB / 0.9537 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.2744, allocations: 7.922 kB / 0.9537 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.046e-05/0.2744, allocations: 7.984 kB / 0.9537 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.2745, allocations: 0 / 0.9537 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.2745, allocations: 0 / 0.9537 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.956e-05/0.2745, allocations: 79.28 kB / 0.9538 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2745, allocations: 0 / 0.9538 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001762/0.2747, allocations: 7.938 kB / 0.9538 GB, free: 4.922 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 (1): * Single equations (assignments): 1 * 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.0001297/0.2748, allocations: 107.2 kB / 0.9539 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.275, allocations: 19.98 kB / 0.954 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.275, allocations: 0 / 0.954 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.518e-05/0.275, allocations: 4 kB / 0.954 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.2752, allocations: 9.203 kB / 0.954 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.2755, allocations: 128.6 kB / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.2757, allocations: 0.6805 MB / 0.9548 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.2758, allocations: 11.44 kB / 0.9548 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.2758, allocations: 3.938 kB / 0.9548 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of Templates: time 0.001578/0.2774, allocations: 466.7 kB / 0.9552 GB, free: 3.445 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches