Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_11_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.001232/0.001232, 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.001114/0.001114, allocations: 196 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.289/1.289, 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 11.1.0-maint.11.x/package.mo): time 2.561/2.561, allocations: 469.8 MB / 0.7424 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 79.48 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2475, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001808/0.2493, allocations: 0.6537 MB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008592/0.2502, allocations: 0.8001 MB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.2502, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.178e-05/0.2503, allocations: 3.938 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.77e-05/0.2503, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.2505, allocations: 15.92 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.602e-05/0.2505, allocations: 19.98 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.561e-05/0.2506, allocations: 4 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.335e-05/0.2507, allocations: 23.8 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.255e-05/0.2507, allocations: 8 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.2507, allocations: 4 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.2507, allocations: 4 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.2508, allocations: 11.91 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.2508, allocations: 4 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.208e-05/0.2509, allocations: 23.91 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2509, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2509, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.2509, allocations: 0 / 1.066 GB, free: 12.62 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.0004162/0.2513, allocations: 335.8 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2513, allocations: 12.03 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.381e-05/0.2514, allocations: 34.75 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.105e-05/0.2514, allocations: 4.844 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.2515, allocations: 164.4 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.2515, allocations: 4.375 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.2516, allocations: 384 / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.2517, allocations: 50.23 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.2517, allocations: 3.938 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.2518, allocations: 3.938 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.2518, allocations: 4 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.2519, allocations: 31.97 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.2522, allocations: 244.9 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.2524, allocations: 42.47 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.2525, allocations: 24.91 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.2525, allocations: 0 / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.2525, allocations: 38.5 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.2525, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003376/0.2529, allocations: 81.55 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.2529, allocations: 59.53 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.238e-05/0.253, allocations: 101.8 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.253, allocations: 25.7 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/0.2531, allocations: 80.14 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.2531, allocations: 3.906 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.2531, allocations: 17.72 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.2532, allocations: 314.8 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.322e-05/0.2533, allocations: 23.98 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.958e-05/0.2534, allocations: 15.92 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.2536, allocations: 36.83 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2536, allocations: 3.938 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000182/0.2538, allocations: 65.72 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2538, allocations: 8 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2538, allocations: 3.938 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.2538, allocations: 0 / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.998e-05/0.2539, allocations: 7.984 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-06/0.2539, allocations: 0 / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.2539, allocations: 11.98 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.254, allocations: 4.188 kB / 1.067 GB, free: 10.55 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 7.919e-05/0.254, allocations: 113.8 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.2541, allocations: 3.938 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.2543, allocations: 76.77 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2543, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2543, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.2543, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.2545, allocations: 165.6 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2545, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/0.2545, allocations: 16.02 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2546, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.2546, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2546, allocations: 3.938 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2546, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.2548, allocations: 167.4 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.2549, allocations: 88.98 kB / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.2549, allocations: 4 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.255, allocations: 3.984 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.255, allocations: 4 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.255, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.179e-05/0.255, allocations: 79.28 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.255, allocations: 0 / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001976/0.2552, allocations: 4 kB / 1.068 GB, free: 9.738 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.0005468/0.2558, allocations: 0.7006 MB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000187/0.256, allocations: 39.97 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.256, allocations: 4.094 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.2561, allocations: 15.98 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.2563, allocations: 10.95 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.2567, allocations: 134.7 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.257, allocations: 0.6806 MB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.88e-05/0.257, allocations: 8.062 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.257, allocations: 7.438 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2571, allocations: 3.938 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.391/1.648, allocations: 1.241 MB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/11.68, allocations: 10.8 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches