Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",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.008216/0.008216, allocations: 100.9 kB / 15.73 MB, free: 6.027 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.001727/0.001727, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.594/2.594, allocations: 437.1 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.89 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3381, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00308/0.3412, allocations: 1.407 MB / 1.168 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003648/0.3449, allocations: 2.67 MB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.345, allocations: 0 / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.3469, allocations: 0.5706 MB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.109e-05/0.347, allocations: 27.83 kB / 1.171 GB, free: 2.629 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.348e-06/0.347, allocations: 0 / 1.171 GB, free: 2.629 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.3472, allocations: 162.9 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.834e-05/0.3473, allocations: 32.69 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.3474, allocations: 63.66 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.3476, allocations: 75.59 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.3476, allocations: 4 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.3487, allocations: 467.3 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.3488, allocations: 43.77 kB / 1.172 GB, free: 1.793 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.3489, allocations: 95.36 kB / 1.172 GB, free: 1.699 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006878/0.3496, allocations: 438.3 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3496, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3496, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3496, allocations: 0 / 1.172 GB, free: 1.27 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007637/0.3504, allocations: 0.549 MB / 1.173 GB, free: 0.668 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3504, allocations: 12.03 kB / 1.173 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.3505, allocations: 114 kB / 1.173 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.3507, allocations: 103.9 kB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.3509, allocations: 306.2 kB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-05/0.351, allocations: 158.9 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.904e-05/0.3511, allocations: 150.9 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.73e-05/0.3511, allocations: 109.5 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.3512, allocations: 83.22 kB / 1.174 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.3512, allocations: 150.6 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.968e-05/0.3513, allocations: 158.5 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.3514, allocations: 150.6 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.3518, allocations: 0.5289 MB / 1.175 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.777e-05/0.3519, allocations: 177.1 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/0.3519, allocations: 80.14 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.352, allocations: 75.28 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.352, allocations: 105.8 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.352, allocations: 0 / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.000178/0.3522, allocations: 57.36 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.3523, allocations: 138.6 kB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.3527, allocations: 429.2 kB / 1.176 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3528, allocations: 25.7 kB / 1.176 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.3529, allocations: 136.5 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.3529, allocations: 0 / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.424e-05/0.353, allocations: 89.61 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3531, allocations: 342.8 kB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3532, allocations: 100.5 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.3534, allocations: 169.3 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.3537, allocations: 301.6 kB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3537, allocations: 4 kB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004851/0.3542, allocations: 329 kB / 1.177 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3542, allocations: 7.938 kB / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3543, allocations: 0 / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3543, allocations: 4 kB / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.146e-06/0.3543, allocations: 3.938 kB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3543, allocations: 4 kB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.3545, allocations: 43.28 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.3545, allocations: 4 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0002748/0.3548, allocations: 251 kB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.589e-05/0.3548, allocations: 132.6 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.324e-05/0.3549, allocations: 115 kB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.319e-05/0.355, allocations: 180.3 kB / 1.178 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.291e-05/0.3551, allocations: 180.2 kB / 1.178 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.587e-05/0.3551, allocations: 184.2 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.3554, allocations: 477.1 kB / 1.178 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.323e-05/0.3555, allocations: 108.9 kB / 1.179 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.3555, allocations: 101 kB / 1.179 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.019e-05/0.3556, allocations: 188.1 kB / 1.179 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-05/0.3557, allocations: 176.3 kB / 1.179 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.763e-05/0.3557, allocations: 188.4 kB / 1.179 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.721e-05/0.3558, allocations: 180.2 kB / 1.179 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.356, allocations: 327.4 kB / 1.18 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.3561, allocations: 201.8 kB / 1.18 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.991e-05/0.3562, allocations: 192.1 kB / 1.18 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.3563, allocations: 105 kB / 1.18 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/0.3564, allocations: 176.3 kB / 1.18 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.3564, allocations: 108.9 kB / 1.18 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002699/0.3567, allocations: 279.1 kB / 1.181 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3567, allocations: 0 / 1.181 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004332/0.3571, allocations: 83.98 kB / 1.181 GB, free: 7.805 MB / 0.9356 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 (0): * Single equations (assignments): 0 * 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.0006285/0.3578, allocations: 0.9565 MB / 1.182 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.358, allocations: 167.8 kB / 1.182 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.358, allocations: 0 / 1.182 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/0.358, allocations: 4.422 kB / 1.182 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.3584, allocations: 465.1 kB / 1.182 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.3615, allocations: 2.937 MB / 1.185 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.3619, allocations: 0.7743 MB / 1.186 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.669e-05/0.3619, allocations: 4 kB / 1.186 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.083e-05/0.362, allocations: 63.34 kB / 1.186 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.362, allocations: 0 / 1.186 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.392, allocations: 6.456 MB / 1.192 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.386, allocations: 3.953 kB / 1.192 GB, free: 11.96 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches