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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001075, allocations: 104.1 kB / 16.35 MB, free: 5.828 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.001112/0.001112, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.503/2.503, allocations: 442.6 MB / 0.7165 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 64.44 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2915, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002246/0.2938, allocations: 0.6727 MB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008846/0.2947, allocations: 0.7909 MB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.2947, allocations: 0 / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.2948, allocations: 3.938 kB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.766e-05/0.2948, allocations: 3.938 kB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.295, allocations: 15.97 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.359e-05/0.2951, allocations: 23.94 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.782e-05/0.2952, allocations: 7.984 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.588e-05/0.2952, allocations: 11.94 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.935e-05/0.2953, allocations: 11.98 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.2953, allocations: 0 / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.2953, allocations: 4 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.2953, allocations: 3.938 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.2954, allocations: 7.938 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.666e-05/0.2954, allocations: 23.94 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2955, allocations: 8 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2955, allocations: 0 / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2955, allocations: 0 / 1.028 GB, free: 424 kB / 0.795 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.0005427/0.296, allocations: 336.7 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/0.2961, allocations: 8.031 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.2961, allocations: 8.844 kB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.2963, allocations: 160.4 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.2963, allocations: 4.375 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.2963, allocations: 4.375 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.2966, allocations: 54.17 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2966, allocations: 4.125 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.2966, allocations: 7.938 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2966, allocations: 0 / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.2968, allocations: 35.95 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.2973, allocations: 241 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.2974, allocations: 50.42 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.2975, allocations: 24.89 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.2976, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.2976, allocations: 30.56 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.2976, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003778/0.298, allocations: 89.58 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.298, allocations: 51.41 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.2982, allocations: 101.9 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.2982, allocations: 29.64 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.2983, allocations: 84.12 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.2983, allocations: 7.906 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.2983, allocations: 17.84 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2985, allocations: 310.8 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.657e-05/0.2986, allocations: 15.98 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.2986, allocations: 19.97 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.2988, allocations: 36.89 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2988, allocations: 0 / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001907/0.299, allocations: 77.5 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.299, allocations: 4 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.299, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2991, allocations: 4 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/0.2992, allocations: 11.92 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2992, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.2992, allocations: 8.031 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.2992, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 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 0.0001054/0.2993, allocations: 117.7 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.2994, allocations: 3.984 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.2996, allocations: 72.78 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2996, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2997, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2997, allocations: 4.031 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.2999, allocations: 161.5 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2999, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.3, allocations: 11.98 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3, allocations: 0 / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.3, allocations: 3.938 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3, allocations: 0 / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3, allocations: 0 / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.3003, allocations: 167.5 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.3003, allocations: 81.02 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.3003, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.904e-05/0.3004, allocations: 7.984 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.3005, allocations: 4 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.3005, allocations: 4 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.864e-05/0.3005, allocations: 87.27 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3005, allocations: 4.031 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002185/0.3008, allocations: 7.938 kB / 1.031 GB, free: 13.56 MB / 0.8106 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.000144/0.3009, allocations: 99.19 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.3012, allocations: 39.89 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3012, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.948e-05/0.3013, allocations: 24.05 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.3016, allocations: 7.938 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.302, allocations: 106.2 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.3023, allocations: 0.6768 MB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.3023, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.3023, allocations: 7.438 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of SimCode: time 4.7e-07/0.3023, allocations: 0 / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of Templates: time 0.002739/0.3051, allocations: 463.2 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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