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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007238/0.000724, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.004337/0.004337, allocations: 169.5 kB / 16.26 MB, free: 6.613 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.26/1.26, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.318/2.318, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 15.98 kB / 0.873 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5125/0.5128, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.0007046/0.5135, allocations: 406.3 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007728/0.5143, allocations: 0.7845 MB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.5143, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.5144, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.331e-05/0.5144, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.5145, allocations: 11.98 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.693e-05/0.5146, allocations: 19.92 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.17e-05/0.5147, allocations: 12 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.5147, allocations: 11.92 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.663e-05/0.5148, allocations: 3.984 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.5148, allocations: 4 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-06/0.5148, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.5148, allocations: 7.938 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.5149, allocations: 29.7 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.543e-05/0.5149, allocations: 27.89 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5149, allocations: 3.938 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5149, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.307e-06/0.515, allocations: 4 kB / 1.024 GB, free: 14.47 MB / 0.7794 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.0003463/0.5153, allocations: 337.7 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.5153, allocations: 8.031 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.71e-05/0.5154, allocations: 34.75 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.812e-05/0.5154, allocations: 4.938 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.215e-05/0.5155, allocations: 164.3 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-06/0.5155, allocations: 384 / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.5155, allocations: 8.375 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.5157, allocations: 54.23 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.5157, allocations: 3.938 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.5157, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.5157, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.5159, allocations: 51.89 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.5162, allocations: 241 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.5163, allocations: 50.48 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.879e-05/0.5164, allocations: 28.91 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.5164, allocations: 0 / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.5165, allocations: 42.48 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.5165, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003362/0.5168, allocations: 101.6 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.5168, allocations: 51.41 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.137e-05/0.5169, allocations: 97.97 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.5169, allocations: 33.7 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.517, allocations: 92.06 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.517, allocations: 3.906 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/0.517, allocations: 9.719 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.5171, allocations: 310.8 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.097e-05/0.5172, allocations: 23.98 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.698e-05/0.5173, allocations: 27.97 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.5174, allocations: 52.77 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5175, allocations: 8 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001995/0.5177, allocations: 73.66 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5177, allocations: 4 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.5177, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.5177, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.384e-05/0.5178, allocations: 20.02 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.5178, allocations: 4 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.5179, allocations: 4 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.5179, allocations: 0 / 1.026 GB, free: 12.33 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 6.193e-05/0.5179, allocations: 118.3 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.518, allocations: 3.906 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.5182, allocations: 88.72 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5182, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5182, allocations: 3.938 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.5182, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.5184, allocations: 157.6 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5184, allocations: 4.031 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.304e-05/0.5184, allocations: 15.98 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5184, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.5185, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5185, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5185, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.5187, allocations: 179.4 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.5187, allocations: 85.05 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.5188, allocations: 3.984 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.5188, allocations: 4 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.5189, allocations: 7.984 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.5189, allocations: 4.031 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.074e-05/0.5189, allocations: 83.28 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5189, allocations: 0 / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002047/0.5191, allocations: 4 kB / 1.027 GB, free: 11.48 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.000462/0.5196, allocations: 0.7046 MB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.5198, allocations: 51.92 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5198, allocations: 4 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.796e-05/0.5199, allocations: 19.98 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.5202, allocations: 4 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.5205, allocations: 148.6 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.5207, allocations: 0.677 MB / 1.029 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.94e-05/0.5207, allocations: 0 / 1.029 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.5208, allocations: 11.44 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.5208, allocations: 0 / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009414/0.5302, allocations: 1.018 MB / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.5304, allocations: 198.2 kB / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/2.036, allocations: 0 / 1.03 GB, free: 8.621 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