Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007879/0.007879, allocations: 105.5 kB / 15.74 MB, free: 5.594 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.00163/0.00163, allocations: 193.8 kB / 16.67 MB, free: 5.531 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.192/2.192, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.0015, allocations: 67.91 kB / 0.9504 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8115/0.813, allocations: 140.4 MB / 1.088 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.002134/0.8152, allocations: 0.6719 MB / 1.088 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000957/0.8162, allocations: 0.7787 MB / 1.089 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.8162, allocations: 1.25 kB / 1.089 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.8163, allocations: 3.938 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.17e-05/0.8163, allocations: 0.6562 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.8165, allocations: 16.5 kB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.193e-05/0.8166, allocations: 25.5 kB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.8167, allocations: 7.078 kB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.924e-05/0.8168, allocations: 12.95 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.172e-05/0.8168, allocations: 14.12 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.8168, allocations: 2.188 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-06/0.8168, allocations: 2.188 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.8169, allocations: 5.797 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.8169, allocations: 7.766 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.988e-05/0.817, allocations: 21.91 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.817, allocations: 0 / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.524e-06/0.817, allocations: 3.938 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.817, allocations: 0 / 1.089 GB, free: 4.199 MB / 0.8575 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.0003952/0.8174, allocations: 343.8 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.8175, allocations: 9.438 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.8175, allocations: 35.55 kB / 1.089 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.8175, allocations: 6.156 kB / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.8176, allocations: 163.2 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.8177, allocations: 2.297 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.8177, allocations: 1.5 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.8179, allocations: 52.89 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.8179, allocations: 7.938 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.8179, allocations: 1.5 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.8179, allocations: 0 / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.8181, allocations: 32.47 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.8185, allocations: 242.6 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.8187, allocations: 48.2 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.8188, allocations: 24.48 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.8188, allocations: 4.453 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.8188, allocations: 32.41 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8189, allocations: 0 / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000409/0.8193, allocations: 79.48 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.8193, allocations: 61.03 kB / 1.09 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.855e-05/0.8194, allocations: 96.7 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.8194, allocations: 26.61 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.8195, allocations: 89.72 kB / 1.09 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.8195, allocations: 5.656 kB / 1.09 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.8195, allocations: 12.28 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.04e-05/0.8196, allocations: 321.3 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.491e-05/0.8197, allocations: 13.84 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.692e-05/0.8198, allocations: 22.23 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.82, allocations: 37.31 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.82, allocations: 3.938 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002106/0.8202, allocations: 71.2 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.8203, allocations: 5.469 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.8203, allocations: 1.453 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.8203, allocations: 0 / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.8204, allocations: 12.84 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.8204, allocations: 0.7031 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.8205, allocations: 6.141 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.8205, allocations: 1.125 kB / 1.091 GB, free: 2.441 MB / 0.8575 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.621e-05/0.8206, allocations: 120.8 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.8206, allocations: 5.281 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.8209, allocations: 66.92 kB / 1.091 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.8209, allocations: 0.9375 kB / 1.091 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.8209, allocations: 4.734 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.8209, allocations: 0 / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.8211, allocations: 160 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.8211, allocations: 4.031 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.117e-05/0.8211, allocations: 13.67 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.8212, allocations: 0 / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.8212, allocations: 1.672 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.8212, allocations: 0 / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8212, allocations: 0 / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.8215, allocations: 171.1 kB / 1.091 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.8215, allocations: 83.09 kB / 1.091 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.8215, allocations: 1.578 kB / 1.091 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.8216, allocations: 5.016 kB / 1.091 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.8217, allocations: 2.328 kB / 1.091 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.8217, allocations: 1.844 kB / 1.091 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.739e-05/0.8217, allocations: 83.42 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8217, allocations: 0 / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002168/0.8219, allocations: 4.281 kB / 1.092 GB, free: 1.742 MB / 0.8575 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.0006129/0.8226, allocations: 0.7004 MB / 1.092 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.8228, allocations: 39.16 kB / 1.092 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.8229, allocations: 0.8125 kB / 1.092 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.823, allocations: 20.84 kB / 1.092 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.8233, allocations: 5.25 kB / 1.092 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.8237, allocations: 132.8 kB / 1.092 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.8241, allocations: 0.6801 MB / 1.093 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.28e-05/0.8241, allocations: 6.172 kB / 1.093 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.8241, allocations: 13.14 kB / 1.093 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of SimCode: time 9.22e-07/0.8241, allocations: 0 / 1.093 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.8418, allocations: 1.297 MB / 1.094 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/9.045, allocations: 10.66 kB / 1.094 GB, free: 15.81 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches