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.006799/0.006799, allocations: 96.95 kB / 15.73 MB, free: 6.039 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.001812/0.001812, allocations: 201 kB / 16.68 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.522/2.522, allocations: 437.1 MB / 0.7106 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 75.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2577, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001585/0.2593, allocations: 0.6577 MB / 1.167 GB, free: 6.66 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007666/0.2601, allocations: 0.7966 MB / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.971e-05/0.2601, allocations: 0 / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.2602, allocations: 0 / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.901e-05/0.2602, allocations: 7.875 kB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 9.7e-05/0.2603, allocations: 15.98 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.025e-05/0.2604, allocations: 27.91 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.952e-05/0.2604, allocations: 4 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.895e-05/0.2605, allocations: 11.98 kB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.074e-05/0.2605, allocations: 11.94 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.2605, allocations: 4 kB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-06/0.2605, allocations: 4 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.2606, allocations: 3.984 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.2606, allocations: 7.938 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 5.61e-05/0.2606, allocations: 23.89 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.2607, allocations: 4 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.22e-07/0.2607, allocations: 3.938 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.665e-06/0.2607, allocations: 0 / 1.168 GB, free: 5.723 MB / 0.92 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.0003515/0.261, allocations: 339.7 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.2611, allocations: 12.03 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.667e-05/0.2611, allocations: 34.75 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.385e-05/0.2611, allocations: 0.9375 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.2612, allocations: 172.3 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-06/0.2612, allocations: 4.375 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.587e-06/0.2613, allocations: 4.375 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.2614, allocations: 50.23 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.2614, allocations: 3.938 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.03e-06/0.2614, allocations: 0 / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-06/0.2614, allocations: 4 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.2616, allocations: 31.97 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.2618, allocations: 245 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.262, allocations: 42.44 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.068e-05/0.2621, allocations: 20.91 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.2621, allocations: 0 / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.2621, allocations: 34.56 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.2621, allocations: 4 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003115/0.2624, allocations: 77.58 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.2625, allocations: 55.53 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.827e-05/0.2625, allocations: 105.8 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.2626, allocations: 25.7 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.2626, allocations: 80.14 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.2626, allocations: 7.953 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.2627, allocations: 13.72 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2628, allocations: 314.8 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.259e-05/0.2629, allocations: 23.98 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.129e-05/0.2629, allocations: 15.98 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.2631, allocations: 36.81 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2631, allocations: 11.88 kB / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001883/0.2633, allocations: 69.56 kB / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.2633, allocations: 12.09 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.2633, allocations: 0 / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.2633, allocations: 0 / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.138e-05/0.2634, allocations: 7.984 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-06/0.2634, allocations: 0 / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.2635, allocations: 7.984 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.2635, allocations: 4 kB / 1.17 GB, free: 3.652 MB / 0.92 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.627e-05/0.2636, allocations: 109.8 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.2636, allocations: 4 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.2638, allocations: 76.72 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2638, allocations: 0 / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2638, allocations: 4.125 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-06/0.2638, allocations: 0 / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.264, allocations: 169.5 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.264, allocations: 0 / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.2641, allocations: 11.98 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2641, allocations: 4.031 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.2641, allocations: 0 / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2641, allocations: 0 / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2641, allocations: 0 / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.2643, allocations: 163.5 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.2644, allocations: 81.06 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.2644, allocations: 8.031 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.2645, allocations: 3.984 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.2645, allocations: 4 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.2645, allocations: 0 / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.122e-05/0.2645, allocations: 83.28 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.793e-06/0.2645, allocations: 0 / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001962/0.2647, allocations: 7.938 kB / 1.17 GB, free: 2.836 MB / 0.92 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.0005205/0.2653, allocations: 0.6968 MB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001839/0.2655, allocations: 35.97 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.2655, allocations: 0 / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.2656, allocations: 24.02 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.2658, allocations: 7.984 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.2661, allocations: 135.6 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.2664, allocations: 0.6768 MB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.835e-05/0.2664, allocations: 4 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.2665, allocations: 7.438 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.2665, allocations: 4.062 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.202/2.469, allocations: 1.275 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/15.5, allocations: 4 kB / 1.173 GB, free: 15.96 MB / 0.9356 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=400 --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