Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_latest_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.007649/0.007649, allocations: 100.9 kB / 15.73 MB, free: 6.031 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.001795/0.001795, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.743/2.743, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 59.91 kB / 1.054 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3218, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001863/0.3237, allocations: 0.66 MB / 1.208 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.3247, allocations: 0.7845 MB / 1.209 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.3248, allocations: 0 / 1.209 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.3248, allocations: 3.938 kB / 1.209 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.155e-05/0.3249, allocations: 7.938 kB / 1.209 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.3251, allocations: 11.98 kB / 1.209 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.129e-05/0.3251, allocations: 23.92 kB / 1.209 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.3252, allocations: 4 kB / 1.209 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.403e-05/0.3253, allocations: 19.91 kB / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.762e-05/0.3254, allocations: 11.94 kB / 1.209 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.3254, allocations: 0 / 1.209 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.3254, allocations: 4 kB / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.3254, allocations: 3.984 kB / 1.209 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.3254, allocations: 7.938 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.76e-05/0.3255, allocations: 23.91 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3255, allocations: 4 kB / 1.209 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3255, allocations: 0 / 1.209 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3256, allocations: 0 / 1.209 GB, free: 8.543 MB / 0.9669 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.0004503/0.326, allocations: 339.7 kB / 1.209 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3261, allocations: 8.625 kB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.3261, allocations: 42.75 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.307e-05/0.3261, allocations: 0.9375 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.3262, allocations: 164.4 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.3263, allocations: 4.375 kB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.3263, allocations: 4.375 kB / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3265, allocations: 54.17 kB / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3265, allocations: 3.938 kB / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.3265, allocations: 0 / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3265, allocations: 0 / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.3267, allocations: 35.95 kB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.327, allocations: 252.9 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.3271, allocations: 46.44 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.437e-05/0.3272, allocations: 16.91 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3272, allocations: 7.938 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.3273, allocations: 34.56 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3273, allocations: 4 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003348/0.3276, allocations: 73.64 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.3277, allocations: 51.41 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.3277, allocations: 105.8 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.3278, allocations: 29.64 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.3278, allocations: 88.27 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.3278, allocations: 3.906 kB / 1.21 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.3279, allocations: 13.72 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.328, allocations: 314.8 kB / 1.21 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.3281, allocations: 15.98 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-05/0.3281, allocations: 15.98 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.3283, allocations: 44.88 kB / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3283, allocations: 7.938 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001908/0.3285, allocations: 57.67 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3286, allocations: 8 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3286, allocations: 0 / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3286, allocations: 3.938 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.491e-05/0.3287, allocations: 15.95 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3287, allocations: 0 / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.3288, allocations: 7.984 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.3288, allocations: 0 / 1.211 GB, free: 6.469 MB / 0.9669 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.897e-05/0.3288, allocations: 113.8 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.3289, allocations: 0 / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.3291, allocations: 76.78 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3291, allocations: 0 / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3291, allocations: 0 / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3291, allocations: 0 / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.3293, allocations: 165.5 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3293, allocations: 0 / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.993e-05/0.3293, allocations: 11.98 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3294, allocations: 0 / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.3294, allocations: 3.938 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.3294, allocations: 4 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3294, allocations: 0 / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.3296, allocations: 171.4 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.3297, allocations: 81.05 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.3297, allocations: 4 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.3298, allocations: 3.984 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.3298, allocations: 4 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.3298, allocations: 4.031 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.3299, allocations: 83.28 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3299, allocations: 0 / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002157/0.3301, allocations: 4 kB / 1.211 GB, free: 5.656 MB / 0.9669 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.0005364/0.3306, allocations: 0.7006 MB / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.3308, allocations: 35.97 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3308, allocations: 0 / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.3309, allocations: 19.98 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.3312, allocations: 3.984 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.3317, allocations: 155.7 kB / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.3319, allocations: 0.6768 MB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.226e-05/0.3319, allocations: 0 / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.3319, allocations: 15.44 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.332, allocations: 0 / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.3479, allocations: 1.291 MB / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.343/7.691, allocations: 22.16 kB / 1.214 GB, free: 2.73 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches