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.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.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.000845/0.0008449, allocations: 99.27 kB / 16.02 MB, free: 76 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.0009382/0.0009384, allocations: 183.2 kB / 16.92 MB, free: 6.918 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.454/1.454, allocations: 223.3 MB / 241 MB, free: 5.34 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.558/2.558, allocations: 390.9 MB / 0.667 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003859, allocations: 8 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7207/0.7211, allocations: 142.4 MB / 0.9557 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.0008177/0.7219, allocations: 402.5 kB / 0.9561 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008222/0.7228, allocations: 0.807 MB / 0.9569 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.896e-05/0.7228, allocations: 0 / 0.9569 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.7228, allocations: 0 / 0.9569 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.582e-05/0.7229, allocations: 1.125 kB / 0.9569 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.7231, allocations: 10.02 kB / 0.9569 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.34e-05/0.7231, allocations: 20.31 kB / 0.9569 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.7232, allocations: 11.39 kB / 0.9569 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.442e-05/0.7233, allocations: 6.938 kB / 0.9569 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.442e-05/0.7234, allocations: 11.39 kB / 0.957 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.7234, allocations: 0.9688 kB / 0.957 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.7234, allocations: 1 kB / 0.957 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.7234, allocations: 0 / 0.957 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.7235, allocations: 39.66 kB / 0.957 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.888e-05/0.7235, allocations: 11.84 kB / 0.957 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7235, allocations: 0 / 0.957 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7236, allocations: 0 / 0.957 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.7236, allocations: 1.031 kB / 0.957 GB, free: 6.715 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.0003779/0.724, allocations: 348.5 kB / 0.9573 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.724, allocations: 9.688 kB / 0.9573 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.724, allocations: 1.969 kB / 0.9574 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.569e-05/0.7241, allocations: 170.7 kB / 0.9575 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.7242, allocations: 384 / 0.9575 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.7242, allocations: 1.438 kB / 0.9575 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.7244, allocations: 59.02 kB / 0.9576 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.7244, allocations: 192 / 0.9576 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.7244, allocations: 8.906 kB / 0.9576 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.7244, allocations: 0 / 0.9576 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.7246, allocations: 44.56 kB / 0.9576 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.7249, allocations: 253 kB / 0.9579 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.725, allocations: 44.16 kB / 0.9579 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.5e-05/0.7251, allocations: 31.62 kB / 0.9579 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.7252, allocations: 0 / 0.9579 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.7252, allocations: 31.31 kB / 0.958 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.7252, allocations: 0 / 0.958 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000363/0.7255, allocations: 103.9 kB / 0.9581 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.7256, allocations: 51.41 kB / 0.9581 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.216e-05/0.7256, allocations: 103.6 kB / 0.9582 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.7257, allocations: 25.7 kB / 0.9582 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.7257, allocations: 85.67 kB / 0.9583 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.7257, allocations: 13.19 kB / 0.9583 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/0.7257, allocations: 9.719 kB / 0.9583 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.433e-05/0.7258, allocations: 320.3 kB / 0.9586 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.408e-05/0.7259, allocations: 17.67 kB / 0.9587 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.726, allocations: 25.86 kB / 0.9587 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.7261, allocations: 51.97 kB / 0.9587 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7261, allocations: 0 / 0.9587 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001981/0.7263, allocations: 80.52 kB / 0.9588 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.7264, allocations: 5.219 kB / 0.9588 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.7264, allocations: 0 / 0.9588 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.7264, allocations: 0 / 0.9588 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.7265, allocations: 13.39 kB / 0.9588 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.7265, allocations: 4.031 kB / 0.9588 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.063e-05/0.7266, allocations: 14.36 kB / 0.9588 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.7266, allocations: 0 / 0.9588 GB, free: 4.879 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 5.45e-05/0.7266, allocations: 116.3 kB / 0.959 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.7267, allocations: 1.281 kB / 0.959 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.7269, allocations: 84 kB / 0.959 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.7269, allocations: 0 / 0.959 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.7269, allocations: 1.188 kB / 0.959 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7269, allocations: 0 / 0.959 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.7271, allocations: 166.2 kB / 0.9592 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7271, allocations: 3.938 kB / 0.9592 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.176e-05/0.7271, allocations: 12.8 kB / 0.9592 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.7271, allocations: 4.031 kB / 0.9592 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.7272, allocations: 1.375 kB / 0.9592 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7272, allocations: 0 / 0.9592 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.7272, allocations: 0 / 0.9592 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.7274, allocations: 178 kB / 0.9594 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.7274, allocations: 77.3 kB / 0.9595 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.7275, allocations: 2.156 kB / 0.9595 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.7275, allocations: 9.703 kB / 0.9595 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.7276, allocations: 7.922 kB / 0.9595 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.7276, allocations: 1.875 kB / 0.9595 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.83e-05/0.7276, allocations: 81.19 kB / 0.9596 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7276, allocations: 5.969 kB / 0.9596 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002075/0.7278, allocations: 1.844 kB / 0.9596 GB, free: 4.137 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.000135/0.728, allocations: 101.6 kB / 0.9597 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.7282, allocations: 47.06 kB / 0.9597 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.7282, allocations: 0 / 0.9597 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.943e-05/0.7283, allocations: 24.58 kB / 0.9597 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.7286, allocations: 16.14 kB / 0.9598 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.7289, allocations: 134.3 kB / 0.9599 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.729, allocations: 0.677 MB / 0.9605 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.7291, allocations: 9.125 kB / 0.9605 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.7291, allocations: 0 / 0.9605 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of Templates: time 0.001964/0.7311, allocations: 0.53 MB / 0.9611 GB, free: 2.895 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/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