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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007356/0.007356, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.001596/0.001596, allocations: 190.2 kB / 16.79 MB, free: 5.809 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.377/1.377, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.2 MB / 0.6649 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6015/0.6029, allocations: 140.4 MB / 0.9496 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001675/0.6046, allocations: 0.6857 MB / 0.9503 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006322/0.6053, allocations: 0.804 MB / 0.9511 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.6053, allocations: 3.938 kB / 0.9511 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.6054, allocations: 0 / 0.9511 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.305e-05/0.6054, allocations: 5.375 kB / 0.9511 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001151/0.6055, allocations: 1.375 kB / 0.9511 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.621e-05/0.6056, allocations: 22.8 kB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.6056, allocations: 6.734 kB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.231e-05/0.6057, allocations: 12 kB / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.609e-05/0.6058, allocations: 6.734 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.6058, allocations: 1.375 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-06/0.6058, allocations: 0 / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.6058, allocations: 5.375 kB / 0.9511 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.6058, allocations: 9.312 kB / 0.9511 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.609e-05/0.6059, allocations: 6.734 kB / 0.9511 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.6059, allocations: 1.375 kB / 0.9511 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.12e-07/0.6059, allocations: 0 / 0.9511 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.045e-06/0.6059, allocations: 0 / 0.9511 GB, free: 7.945 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002852/0.6062, allocations: 335 kB / 0.9515 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.6062, allocations: 8.25 kB / 0.9515 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.6063, allocations: 2.312 kB / 0.9515 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.409e-05/0.6063, allocations: 169.7 kB / 0.9516 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.6064, allocations: 5.75 kB / 0.9516 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.6064, allocations: 384 / 0.9516 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.6065, allocations: 39.75 kB / 0.9517 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.6065, allocations: 192 / 0.9517 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.6065, allocations: 7.875 kB / 0.9517 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.6065, allocations: 1.375 kB / 0.9517 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.997e-05/0.6066, allocations: 12.23 kB / 0.9517 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001063/0.6067, allocations: 152.4 kB / 0.9518 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.952e-05/0.6068, allocations: 32.02 kB / 0.9519 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/0.6068, allocations: 16.91 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.6068, allocations: 1.375 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.6069, allocations: 30.56 kB / 0.9519 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.6069, allocations: 0 / 0.9519 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.00017/0.607, allocations: 66.14 kB / 0.952 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.6071, allocations: 51.41 kB / 0.952 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.022e-05/0.6071, allocations: 100.7 kB / 0.9521 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.451e-06/0.6071, allocations: 25.7 kB / 0.9521 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.669e-05/0.6071, allocations: 85.5 kB / 0.9522 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.6072, allocations: 0 / 0.9522 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.6072, allocations: 16.47 kB / 0.9522 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.98e-05/0.6072, allocations: 310.8 kB / 0.9525 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.479e-05/0.6073, allocations: 12.14 kB / 0.9526 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.6073, allocations: 9.5 kB / 0.9526 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.073e-05/0.6074, allocations: 21.03 kB / 0.9526 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6074, allocations: 1.375 kB / 0.9526 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001033/0.6075, allocations: 49.97 kB / 0.9526 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.6075, allocations: 4.125 kB / 0.9526 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6075, allocations: 9.406 kB / 0.9526 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.6075, allocations: 0 / 0.9526 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.215e-05/0.6076, allocations: 6.734 kB / 0.9526 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.6076, allocations: 1.375 kB / 0.9527 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.6077, allocations: 5.312 kB / 0.9527 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.6077, allocations: 0 / 0.9527 GB, free: 6.281 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 (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 3.912e-05/0.6077, allocations: 107.2 kB / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.6077, allocations: 1.375 kB / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.466e-05/0.6077, allocations: 12.44 kB / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.6077, allocations: 4 kB / 0.9528 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6078, allocations: 5.609 kB / 0.9528 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.6078, allocations: 0 / 0.9528 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.665e-05/0.6078, allocations: 152.4 kB / 0.9529 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6078, allocations: 1.375 kB / 0.9529 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.6079, allocations: 2.75 kB / 0.9529 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.6079, allocations: 3.938 kB / 0.9529 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.6079, allocations: 7.875 kB / 0.9529 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6079, allocations: 1.375 kB / 0.9529 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6079, allocations: 0 / 0.9529 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.608, allocations: 78.86 kB / 0.953 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.608, allocations: 77.11 kB / 0.9531 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.608, allocations: 5.312 kB / 0.9531 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.797e-05/0.6081, allocations: 1.375 kB / 0.9531 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.6081, allocations: 1.375 kB / 0.9531 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.6081, allocations: 7.922 kB / 0.9531 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.08e-05/0.6081, allocations: 83.44 kB / 0.9532 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6081, allocations: 0 / 0.9532 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001793/0.6083, allocations: 2.75 kB / 0.9532 GB, free: 5.676 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 (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 9.001e-05/0.6084, allocations: 98.25 kB / 0.9533 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.6085, allocations: 22.42 kB / 0.9533 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.6086, allocations: 0 / 0.9533 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.447e-05/0.6086, allocations: 9.578 kB / 0.9533 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.6087, allocations: 11.41 kB / 0.9533 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002285/0.609, allocations: 132.1 kB / 0.9534 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.316e-05/0.6091, allocations: 0.6764 MB / 0.9541 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.6091, allocations: 9.375 kB / 0.9541 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of SimCode: time 3.9e-07/0.6091, allocations: 3.938 kB / 0.9541 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of Templates: time 0.001507/0.6106, allocations: 455.8 kB / 0.9546 GB, free: 4.492 MB / 0.7169 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