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.001514/0.001514, allocations: 108 kB / 15.61 MB, free: 152 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.001816/0.001816, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.268/1.268, 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 11.0.1-master/package.mo): time 2.623/2.623, allocations: 469.4 MB / 0.742 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 78.27 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.246, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001867/0.2479, allocations: 0.6674 MB / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008294/0.2488, allocations: 0.7923 MB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.2488, allocations: 0 / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.2488, allocations: 0 / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.788e-05/0.2489, allocations: 7.922 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.249, allocations: 7.984 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.11e-05/0.2491, allocations: 31.86 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.009e-05/0.2492, allocations: 8 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.45e-05/0.2493, allocations: 8 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.609e-05/0.2493, allocations: 7.922 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.2493, allocations: 4 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-06/0.2493, allocations: 0 / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.2493, allocations: 4 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.2494, allocations: 19.91 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.589e-05/0.2495, allocations: 15.97 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2495, allocations: 0 / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2495, allocations: 0 / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.2495, allocations: 0 / 1.065 GB, free: 12.88 MB / 0.8262 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.0003865/0.2499, allocations: 343.8 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2499, allocations: 11.97 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.667e-05/0.2499, allocations: 30.75 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.149e-05/0.25, allocations: 8.844 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.456e-05/0.2501, allocations: 160.4 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.2501, allocations: 4.312 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.2501, allocations: 384 / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.2503, allocations: 54.23 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.2503, allocations: 3.938 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.2503, allocations: 0 / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2503, allocations: 4 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.2505, allocations: 31.95 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.2507, allocations: 248.8 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.2509, allocations: 46.53 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.503e-05/0.251, allocations: 24.91 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.251, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.251, allocations: 30.56 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.251, allocations: 0 / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003266/0.2513, allocations: 93.48 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.2514, allocations: 51.41 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.275e-05/0.2514, allocations: 105.8 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.2515, allocations: 25.7 kB / 1.066 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/0.2515, allocations: 84.14 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.2515, allocations: 3.906 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.2516, allocations: 17.84 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.2516, allocations: 314.8 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.994e-05/0.2517, allocations: 15.97 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-05/0.2518, allocations: 15.98 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.252, allocations: 36.83 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.252, allocations: 8 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001868/0.2522, allocations: 73.59 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.2522, allocations: 4 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2522, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2522, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.401e-05/0.2523, allocations: 11.98 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2523, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.2524, allocations: 7.984 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.2524, allocations: 4.031 kB / 1.067 GB, free: 10.8 MB / 0.8262 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.843e-05/0.2525, allocations: 117.8 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.2525, allocations: 0 / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.2527, allocations: 72.72 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2527, allocations: 3.938 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2527, allocations: 4 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2527, allocations: 0 / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.2529, allocations: 165.6 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2529, allocations: 0 / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.253, allocations: 4 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.253, allocations: 4 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-06/0.253, allocations: 0 / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.253, allocations: 3.984 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.253, allocations: 0 / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.2532, allocations: 159.5 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.2533, allocations: 88.94 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.2533, allocations: 3.938 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.655e-05/0.2533, allocations: 11.94 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.2534, allocations: 3.984 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2534, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.996e-05/0.2534, allocations: 75.28 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2534, allocations: 0 / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002117/0.2537, allocations: 8.031 kB / 1.068 GB, free: 9.988 MB / 0.8262 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.0004749/0.2541, allocations: 0.6934 MB / 1.068 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.2543, allocations: 47.92 kB / 1.068 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2544, allocations: 0 / 1.068 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.98e-05/0.2544, allocations: 15.98 kB / 1.068 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.2547, allocations: 4 kB / 1.068 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.2551, allocations: 143.9 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.2553, allocations: 0.6729 MB / 1.069 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.931e-05/0.2553, allocations: 0 / 1.069 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.2554, allocations: 11.42 kB / 1.069 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2554, allocations: 4 kB / 1.069 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.2698, allocations: 1.261 MB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.948/7.218, allocations: 5.406 kB / 1.071 GB, free: 7.105 MB / 0.8262 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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