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.001271/0.001271, allocations: 108 kB / 15.6 MB, free: 132 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.00133/0.00133, allocations: 198 kB / 16.54 MB, free: 6.672 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.203/2.203, allocations: 390.2 MB / 0.6647 GB, free: 324 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 72.11 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5093, allocations: 140.3 MB / 0.9497 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.001667/0.511, allocations: 0.6703 MB / 0.9504 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005518/0.5116, allocations: 0.7908 MB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.5116, allocations: 1.375 kB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.5116, allocations: 0 / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.395e-05/0.5117, allocations: 3.938 kB / 0.9512 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001076/0.5118, allocations: 10.73 kB / 0.9512 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.162e-05/0.5119, allocations: 21.56 kB / 0.9512 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.986e-05/0.5119, allocations: 6.734 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.557e-05/0.512, allocations: 14.73 kB / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.189e-05/0.512, allocations: 16.05 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.5121, allocations: 1.375 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.5121, allocations: 2.75 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.5121, allocations: 0 / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.5121, allocations: 10.69 kB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.422e-05/0.5122, allocations: 20.03 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.5122, allocations: 0 / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5122, allocations: 0 / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.5122, allocations: 0 / 0.9513 GB, free: 7.883 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.0002969/0.5125, allocations: 343.4 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.5125, allocations: 9.344 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.153e-05/0.5126, allocations: 34.73 kB / 0.9516 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.043e-05/0.5126, allocations: 7.281 kB / 0.9516 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.094e-05/0.5126, allocations: 169.4 kB / 0.9518 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.5127, allocations: 1.781 kB / 0.9518 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.5127, allocations: 384 / 0.9518 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.5128, allocations: 50.89 kB / 0.9519 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5128, allocations: 7.938 kB / 0.9519 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.5129, allocations: 0 / 0.9519 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.5129, allocations: 0 / 0.9519 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.513, allocations: 34.3 kB / 0.9519 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/0.5133, allocations: 245.9 kB / 0.9521 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.5134, allocations: 46.72 kB / 0.9522 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.2e-05/0.5135, allocations: 22.23 kB / 0.9522 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.5135, allocations: 1.219 kB / 0.9522 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.5135, allocations: 35.59 kB / 0.9522 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.5135, allocations: 0 / 0.9522 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003269/0.5139, allocations: 84.45 kB / 0.9523 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.5139, allocations: 51.41 kB / 0.9524 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.6e-05/0.514, allocations: 99.52 kB / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.514, allocations: 25.7 kB / 0.9525 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.514, allocations: 81.61 kB / 0.9526 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.5141, allocations: 17.11 kB / 0.9526 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.5141, allocations: 15.16 kB / 0.9526 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.5141, allocations: 316.5 kB / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/0.5142, allocations: 17.11 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.007e-05/0.5143, allocations: 13.39 kB / 0.9529 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.5145, allocations: 43.56 kB / 0.953 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5145, allocations: 7.875 kB / 0.953 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001755/0.5146, allocations: 73.66 kB / 0.953 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.5147, allocations: 4.125 kB / 0.953 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5147, allocations: 0 / 0.953 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5147, allocations: 1.406 kB / 0.953 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.5148, allocations: 6.375 kB / 0.953 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5148, allocations: 3.984 kB / 0.9531 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.5148, allocations: 3.844 kB / 0.9531 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.5148, allocations: 0 / 0.9531 GB, free: 6.02 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 4.937e-05/0.5149, allocations: 115.5 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.5149, allocations: 6.375 kB / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.5152, allocations: 81.91 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.5152, allocations: 0 / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5152, allocations: 5.375 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.5152, allocations: 0 / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.5153, allocations: 157.7 kB / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5153, allocations: 4.031 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.5154, allocations: 11.08 kB / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5154, allocations: 0 / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.5154, allocations: 0 / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5154, allocations: 1.562 kB / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5154, allocations: 0 / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.5156, allocations: 166.5 kB / 0.9536 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.5156, allocations: 78.7 kB / 0.9537 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.5157, allocations: 0 / 0.9537 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.5157, allocations: 8.922 kB / 0.9537 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.5158, allocations: 0 / 0.9537 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.5158, allocations: 1.375 kB / 0.9537 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.621e-05/0.5158, allocations: 86.2 kB / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.292e-06/0.5158, allocations: 0 / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002117/0.516, allocations: 7.906 kB / 0.9538 GB, free: 5.277 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.0004388/0.5165, allocations: 0.7004 MB / 0.9544 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.5167, allocations: 40.58 kB / 0.9545 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5167, allocations: 0 / 0.9545 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.163e-05/0.5168, allocations: 23.95 kB / 0.9545 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.5171, allocations: 6.438 kB / 0.9545 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.5174, allocations: 139.7 kB / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.947e-05/0.5175, allocations: 0.6843 MB / 0.9553 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.111e-05/0.5176, allocations: 1.344 kB / 0.9553 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.5176, allocations: 12.59 kB / 0.9553 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.5176, allocations: 0 / 0.9553 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3104/0.8281, allocations: 1.241 MB / 0.9565 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/8.348, allocations: 20.11 kB / 0.9566 GB, free: 2.961 MB / 0.7169 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