Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Asin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.001109/0.001109, 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.001129/0.001129, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.276/1.276, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.469/2.469, allocations: 437.1 MB / 0.7104 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.91 kB / 0.8694 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5624/0.5637, allocations: 151.6 MB / 1.017 GB, free: 2.426 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001791/0.5655, allocations: 0.6593 MB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007966/0.5664, allocations: 0.7884 MB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.5664, allocations: 4 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.5664, allocations: 3.938 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-05/0.5665, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.5666, allocations: 11.92 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.955e-05/0.5667, allocations: 23.98 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.695e-05/0.5668, allocations: 4 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.832e-05/0.5669, allocations: 15.88 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.5669, allocations: 15.97 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.5669, allocations: 4 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.5669, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.567, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.567, allocations: 19.86 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.746e-05/0.5671, allocations: 23.91 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.5671, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5671, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.5671, allocations: 4 kB / 1.019 GB, free: 0.8359 MB / 0.7637 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.0003932/0.5675, allocations: 333.7 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.5675, allocations: 12.03 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.5676, allocations: 30.75 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/0.5676, allocations: 0.9375 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.5677, allocations: 172.3 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.5677, allocations: 384 / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.5678, allocations: 4.359 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.5679, allocations: 54.19 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.5679, allocations: 3.938 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.5679, allocations: 0 / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.568, allocations: 0 / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.5681, allocations: 35.95 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.5684, allocations: 240.9 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.5686, allocations: 46.53 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.732e-05/0.5687, allocations: 20.91 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.5687, allocations: 3.938 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.5687, allocations: 34.56 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5687, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003399/0.5691, allocations: 81.64 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.5691, allocations: 55.34 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.5692, allocations: 101.8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.5692, allocations: 25.7 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.5693, allocations: 88.08 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.5693, allocations: 11.89 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.5693, allocations: 13.84 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5694, allocations: 314.8 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.5695, allocations: 23.91 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.5696, allocations: 11.98 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.5698, allocations: 36.83 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5698, allocations: 8 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001895/0.57, allocations: 69.66 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.57, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.57, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.57, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.5701, allocations: 11.98 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.5701, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.5702, allocations: 7.984 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.5702, allocations: 7.969 kB / 1.021 GB, free: 14.77 MB / 0.7794 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 7.155e-05/0.5703, allocations: 113.7 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.5703, allocations: 7.906 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.5705, allocations: 68.78 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5705, allocations: 192 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5705, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5706, allocations: 8.016 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.5707, allocations: 165.6 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.5707, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.5708, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5708, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.5708, allocations: 3.984 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.5708, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5708, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.5711, allocations: 171.4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.5711, allocations: 77.11 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.5711, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/0.5712, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.5712, allocations: 7.922 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.5713, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.126e-05/0.5713, allocations: 83.28 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5713, allocations: 4.031 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000214/0.5715, allocations: 4 kB / 1.021 GB, free: 13.96 MB / 0.7794 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.0005103/0.572, allocations: 0.7045 MB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.5723, allocations: 39.98 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5723, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.5723, allocations: 19.98 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.5726, allocations: 6.25 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.573, allocations: 147.9 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.5733, allocations: 0.6729 MB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.064e-05/0.5733, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.5733, allocations: 15.42 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5733, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.5979, allocations: 1.243 MB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.158/7.756, allocations: 4.891 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches