Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.001549/0.001549, allocations: 108 kB / 15.61 MB, free: 148 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.00178/0.00178, allocations: 193.8 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 461.9 MB / 0.7346 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00204/0.002041, allocations: 63.92 kB / 0.8992 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.364, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00502/0.3691, allocations: 3.083 MB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002952/0.372, allocations: 1.908 MB / 1.058 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.3723, allocations: 7.938 kB / 1.058 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009316/0.3732, allocations: 278.9 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004888/0.3737, allocations: 195.1 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006311/0.3744, allocations: 243.2 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004067/0.3748, allocations: 326.9 kB / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003709/0.3752, allocations: 181.2 kB / 1.059 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.3754, allocations: 135.5 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.3757, allocations: 147.5 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.3758, allocations: 20 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006272/0.3764, allocations: 403.2 kB / 1.06 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3765, allocations: 87.73 kB / 1.06 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.3767, allocations: 131.3 kB / 1.06 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006729/0.3773, allocations: 474.7 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3774, allocations: 0 / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3774, allocations: 0 / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.3774, allocations: 0 / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008882/0.3783, allocations: 0.5652 MB / 1.061 GB, free: 116 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3783, allocations: 8.625 kB / 1.061 GB, free: 108 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.935e-05/0.3784, allocations: 62.7 kB / 1.061 GB, free: 36 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008693/0.3793, allocations: 116.5 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.3796, allocations: 248 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.3796, allocations: 20.78 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.3797, allocations: 16.38 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005223/0.3802, allocations: 361.2 kB / 1.062 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3802, allocations: 0 / 1.062 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.3803, allocations: 8 kB / 1.062 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-05/0.3803, allocations: 24.42 kB / 1.062 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.3808, allocations: 301.4 kB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.3829, allocations: 1.737 MB / 1.064 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.3834, allocations: 318.1 kB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.3835, allocations: 109.9 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.3837, allocations: 97.08 kB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.3837, allocations: 34.5 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.3837, allocations: 0 / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.002435/0.3861, allocations: 0.9632 MB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3862, allocations: 85.05 kB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.3864, allocations: 215.7 kB / 1.065 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.3864, allocations: 29.7 kB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.475e-05/0.3865, allocations: 172.1 kB / 1.066 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.3866, allocations: 86.77 kB / 1.066 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.3867, allocations: 57.7 kB / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3868, allocations: 330.8 kB / 1.066 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.387, allocations: 131.9 kB / 1.066 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.3873, allocations: 221.6 kB / 1.066 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/0.3877, allocations: 362.3 kB / 1.067 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3877, allocations: 0 / 1.067 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008309/0.3886, allocations: 0.5133 MB / 1.067 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3886, allocations: 4 kB / 1.067 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3886, allocations: 4 kB / 1.067 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004997/0.3891, allocations: 151.5 kB / 1.067 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.3894, allocations: 64 kB / 1.067 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/0.3924, allocations: 4.186 MB / 1.072 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.3926, allocations: 20.02 kB / 1.072 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.3926, allocations: 12 kB / 1.072 GB, free: 4.297 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.3928, allocations: 175.8 kB / 1.072 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.099e-05/0.3929, allocations: 19.72 kB / 1.072 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008557/0.3937, allocations: 484.6 kB / 1.072 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.3937, allocations: 4 kB / 1.072 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3938, allocations: 0 / 1.072 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3938, allocations: 3.984 kB / 1.072 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.3953, allocations: 1.001 MB / 1.073 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3953, allocations: 4 kB / 1.073 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.3955, allocations: 40.22 kB / 1.073 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003872/0.3959, allocations: 139.3 kB / 1.073 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.3959, allocations: 8 kB / 1.073 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002764/0.3987, allocations: 4.174 MB / 1.077 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.3987, allocations: 8.094 kB / 1.077 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008096/0.3995, allocations: 0.626 MB / 1.078 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.3996, allocations: 124.8 kB / 1.078 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.3997, allocations: 11.94 kB / 1.078 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.3999, allocations: 19.97 kB / 1.078 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.4, allocations: 23.98 kB / 1.078 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.4, allocations: 12 kB / 1.078 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001417/0.4002, allocations: 157.5 kB / 1.078 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4002, allocations: 0 / 1.078 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005028/0.4007, allocations: 84 kB / 1.078 GB, free: 12.67 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/0.4019, allocations: 1.203 MB / 1.08 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009812/0.4028, allocations: 0.5986 MB / 1.08 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.4029, allocations: 0 / 1.08 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006278/0.4035, allocations: 404 kB / 1.081 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005236/0.404, allocations: 55.94 kB / 1.081 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.4081, allocations: 3.327 MB / 1.084 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.4085, allocations: 0.7792 MB / 1.085 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001816/0.4087, allocations: 62.23 kB / 1.085 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.4088, allocations: 71.42 kB / 1.085 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of SimCode: time 5.41e-07/0.4088, allocations: 0 / 1.085 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.565/1.974, allocations: 6.607 MB / 1.091 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/16.2, allocations: 13.53 kB / 1.091 GB, free: 15.35 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches