Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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.Acos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",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.001226/0.001226, allocations: 108 kB / 15.6 MB, free: 132 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.001191/0.001191, allocations: 195.4 kB / 16.54 MB, free: 6.672 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.633/2.633, allocations: 469.8 MB / 0.7424 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.28 kB / 0.9087 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.257, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001625/0.2587, allocations: 0.663 MB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000772/0.2595, allocations: 0.8079 MB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.97e-05/0.2595, allocations: 8 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.038e-05/0.2595, allocations: 0 / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.201e-05/0.2596, allocations: 7.922 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.491e-05/0.2597, allocations: 4 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.298e-05/0.2597, allocations: 27.92 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.2598, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.559e-05/0.2598, allocations: 15.92 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.312e-05/0.2598, allocations: 11.94 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.2598, allocations: 4 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-06/0.2599, allocations: 0 / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.2599, allocations: 15.91 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.597e-05/0.2599, allocations: 8 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 4.297e-05/0.2599, allocations: 19.91 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.2599, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of FrontEnd: time 6.82e-07/0.26, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.174e-06/0.26, allocations: 0 / 1.066 GB, free: 12.59 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.0003354/0.2603, allocations: 335.8 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.564e-05/0.2603, allocations: 12.03 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.123e-05/0.2604, allocations: 34.69 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.411e-05/0.2604, allocations: 8.844 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2605, allocations: 168.4 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-06/0.2605, allocations: 384 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.2605, allocations: 384 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.2606, allocations: 54.22 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.2607, allocations: 3.938 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-06/0.2607, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-06/0.2607, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.2608, allocations: 35.97 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.2611, allocations: 256.8 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.2612, allocations: 38.5 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.386e-05/0.2613, allocations: 20.91 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.2613, allocations: 4 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.2613, allocations: 30.56 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2613, allocations: 0 / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002934/0.2616, allocations: 89.48 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.2617, allocations: 51.41 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/0.2617, allocations: 106 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.2618, allocations: 25.7 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.2618, allocations: 84.14 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/0.2618, allocations: 3.906 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.2619, allocations: 13.72 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.262, allocations: 318.8 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.2621, allocations: 15.98 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.951e-05/0.2621, allocations: 15.98 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.2623, allocations: 40.81 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2623, allocations: 3.938 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001814/0.2625, allocations: 65.61 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.2625, allocations: 4 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.2625, allocations: 4.094 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.2625, allocations: 7.922 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.874e-05/0.2626, allocations: 8 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.2626, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.227e-05/0.2627, allocations: 11.98 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.2627, allocations: 0 / 1.067 GB, free: 10.52 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.726e-05/0.2628, allocations: 109.8 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.2628, allocations: 4 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.263, allocations: 76.72 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.263, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.263, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.263, allocations: 3.984 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.2632, allocations: 161.6 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2632, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.2632, allocations: 7.984 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.2633, allocations: 4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-06/0.2633, allocations: 7.969 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2633, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2633, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.2635, allocations: 163.5 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.2636, allocations: 84.95 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-06/0.2636, allocations: 0 / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.2637, allocations: 12.02 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.2637, allocations: 3.938 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-06/0.2637, allocations: 0 / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.907e-05/0.2637, allocations: 83.45 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2637, allocations: 0 / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001961/0.2639, allocations: 8 kB / 1.068 GB, free: 9.703 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.0005313/0.2645, allocations: 0.7025 MB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.2647, allocations: 35.91 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.2647, allocations: 0 / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.085e-05/0.2647, allocations: 24.06 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.265, allocations: 8 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.2653, allocations: 139.8 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.2656, allocations: 0.6768 MB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.499e-05/0.2656, allocations: 0 / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.2656, allocations: 7.438 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2656, allocations: 4.062 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8553/1.121, allocations: 1.247 MB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/11.44, allocations: 5.109 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches