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.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: "" <> 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.001158/0.001158, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00114/0.00114, allocations: 195.7 kB / 16.14 MB, free: 6.691 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.191/1.191, allocations: 222.9 MB / 239.8 MB, free: 4.543 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.132/2.132, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5287/0.53, allocations: 140.4 MB / 0.9491 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.001798/0.5319, allocations: 0.717 MB / 0.9498 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006876/0.5326, allocations: 0.7916 MB / 0.9505 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.5326, allocations: 0 / 0.9505 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.5326, allocations: 0 / 0.9505 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.604e-05/0.5327, allocations: 5.312 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.5329, allocations: 9.359 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.886e-05/0.5329, allocations: 17.56 kB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.576e-05/0.533, allocations: 10.73 kB / 0.9506 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.167e-05/0.533, allocations: 12.11 kB / 0.9506 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.851e-05/0.5331, allocations: 14.67 kB / 0.9506 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.5331, allocations: 1.375 kB / 0.9506 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.5331, allocations: 1.375 kB / 0.9506 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.5331, allocations: 0 / 0.9506 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.5332, allocations: 10.69 kB / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.737e-05/0.5332, allocations: 20.03 kB / 0.9506 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5332, allocations: 0 / 0.9506 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5332, allocations: 3.984 kB / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.5333, allocations: 0 / 0.9507 GB, free: 7.793 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.0003399/0.5336, allocations: 339.5 kB / 0.951 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.5336, allocations: 13.61 kB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.376e-05/0.5337, allocations: 30.75 kB / 0.951 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.5337, allocations: 2.312 kB / 0.951 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.341e-05/0.5338, allocations: 165.7 kB / 0.9512 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.5338, allocations: 1.75 kB / 0.9512 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.5338, allocations: 1.75 kB / 0.9512 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.534, allocations: 53.17 kB / 0.9512 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.534, allocations: 7.938 kB / 0.9512 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.534, allocations: 3.984 kB / 0.9512 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.534, allocations: 1.375 kB / 0.9512 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.5342, allocations: 33.83 kB / 0.9513 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.5344, allocations: 245.2 kB / 0.9515 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.5345, allocations: 42.88 kB / 0.9516 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.123e-05/0.5346, allocations: 31.17 kB / 0.9516 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.5347, allocations: 0 / 0.9516 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.398e-05/0.5347, allocations: 31.97 kB / 0.9516 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.5347, allocations: 0 / 0.9516 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003161/0.535, allocations: 89.11 kB / 0.9517 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.535, allocations: 51.41 kB / 0.9517 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.354e-05/0.5351, allocations: 99.73 kB / 0.9518 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.573e-06/0.5351, allocations: 25.7 kB / 0.9519 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/0.5351, allocations: 89.86 kB / 0.952 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.5351, allocations: 7.844 kB / 0.952 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.5352, allocations: 16.53 kB / 0.952 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.783e-05/0.5352, allocations: 320.3 kB / 0.9523 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.66e-05/0.5353, allocations: 16.3 kB / 0.9523 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.877e-05/0.5354, allocations: 21.25 kB / 0.9523 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.5355, allocations: 35.8 kB / 0.9523 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5355, allocations: 3.938 kB / 0.9524 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001723/0.5357, allocations: 68.84 kB / 0.9524 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5357, allocations: 7.031 kB / 0.9524 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.5357, allocations: 0 / 0.9524 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.5357, allocations: 1.094 kB / 0.9524 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.284e-05/0.5358, allocations: 9.516 kB / 0.9524 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.5358, allocations: 5.281 kB / 0.9524 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.5359, allocations: 2.469 kB / 0.9524 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.5359, allocations: 1.281 kB / 0.9524 GB, free: 5.93 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.293e-05/0.5359, allocations: 119 kB / 0.9526 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.536, allocations: 9.172 kB / 0.9526 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.5362, allocations: 66.34 kB / 0.9526 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5362, allocations: 1.031 kB / 0.9526 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5362, allocations: 0 / 0.9526 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-06/0.5362, allocations: 1.344 kB / 0.9526 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.5363, allocations: 165.8 kB / 0.9528 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5363, allocations: 0 / 0.9528 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.5364, allocations: 10.3 kB / 0.9528 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5364, allocations: 0 / 0.9528 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.5364, allocations: 1.219 kB / 0.9528 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5364, allocations: 0 / 0.9528 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5364, allocations: 5.25 kB / 0.9528 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.5366, allocations: 161.9 kB / 0.953 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.5366, allocations: 78.58 kB / 0.953 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.5366, allocations: 1.562 kB / 0.953 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.5367, allocations: 10.8 kB / 0.953 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.5368, allocations: 1.25 kB / 0.953 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.5368, allocations: 5.25 kB / 0.9531 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.081e-05/0.5368, allocations: 81.89 kB / 0.9531 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5368, allocations: 0 / 0.9531 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002131/0.537, allocations: 8.281 kB / 0.9531 GB, free: 5.191 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.0003665/0.5374, allocations: 0.6995 MB / 0.9538 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001881/0.5376, allocations: 40.55 kB / 0.9539 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5376, allocations: 5 kB / 0.9539 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.5377, allocations: 18.86 kB / 0.9539 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.5379, allocations: 2.688 kB / 0.9539 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.5383, allocations: 133.8 kB / 0.954 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.253e-05/0.5384, allocations: 0.6812 MB / 0.9547 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.5384, allocations: 1.219 kB / 0.9547 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.5384, allocations: 12.69 kB / 0.9547 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5384, allocations: 0 / 0.9547 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1722/0.7106, allocations: 1.074 MB / 0.9557 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/0.7108, allocations: 211.3 kB / 0.9559 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.325, allocations: 3.938 kB / 0.9559 GB, free: 2.781 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