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.00491/0.00491, allocations: 102.2 kB / 15.73 MB, free: 6.031 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.001159/0.001159, allocations: 194.5 kB / 16.67 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.637/2.637, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 55.91 kB / 1.054 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2779, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00482/0.2827, allocations: 3.085 MB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002854/0.2856, allocations: 1.908 MB / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.2858, allocations: 4 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009388/0.2868, allocations: 278.9 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005103/0.2873, allocations: 195.1 kB / 1.213 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006591/0.2879, allocations: 247.2 kB / 1.213 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004381/0.2884, allocations: 322.9 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.2888, allocations: 185.2 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.289, allocations: 131.5 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000328/0.2893, allocations: 155.5 kB / 1.214 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.407e-05/0.2894, allocations: 20 kB / 1.214 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000644/0.29, allocations: 395.2 kB / 1.214 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.2902, allocations: 87.78 kB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.2903, allocations: 127.4 kB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007302/0.291, allocations: 490.6 kB / 1.215 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2911, allocations: 0 / 1.215 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2911, allocations: 0 / 1.215 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.422e-05/0.2911, allocations: 0 / 1.215 GB, free: 2.574 MB / 0.9669 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.0009771/0.2921, allocations: 0.5614 MB / 1.215 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.2921, allocations: 12.62 kB / 1.215 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.669e-05/0.2922, allocations: 58.73 kB / 1.215 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009057/0.2931, allocations: 112.5 kB / 1.215 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.2935, allocations: 267.8 kB / 1.216 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.2935, allocations: 16.81 kB / 1.216 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.2936, allocations: 20.36 kB / 1.216 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.2941, allocations: 357.2 kB / 1.216 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.2941, allocations: 0 / 1.216 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.2942, allocations: 8 kB / 1.216 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.2942, allocations: 28.42 kB / 1.216 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004345/0.2947, allocations: 293.5 kB / 1.216 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.2968, allocations: 1.729 MB / 1.218 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/0.2973, allocations: 332 kB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.2975, allocations: 105.9 kB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.2976, allocations: 85.11 kB / 1.218 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.2976, allocations: 42.48 kB / 1.219 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.2976, allocations: 4 kB / 1.219 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0024/0.3001, allocations: 0.9576 MB / 1.219 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.3001, allocations: 81.05 kB / 1.22 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.3003, allocations: 215.7 kB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.3004, allocations: 29.64 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.87e-05/0.3005, allocations: 180.1 kB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.3005, allocations: 78.89 kB / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.675e-05/0.3006, allocations: 61.61 kB / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3008, allocations: 334.8 kB / 1.22 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.301, allocations: 127.9 kB / 1.221 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.3012, allocations: 213.7 kB / 1.221 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.3016, allocations: 375.3 kB / 1.221 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3016, allocations: 0 / 1.221 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008335/0.3025, allocations: 0.5049 MB / 1.222 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3025, allocations: 8 kB / 1.222 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3025, allocations: 0 / 1.222 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005095/0.303, allocations: 159.5 kB / 1.222 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.3033, allocations: 59.89 kB / 1.222 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/0.3062, allocations: 4.186 MB / 1.226 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.3064, allocations: 19.97 kB / 1.226 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.3065, allocations: 16 kB / 1.226 GB, free: 6.137 MB / 0.9825 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.0001653/0.3067, allocations: 162.3 kB / 1.226 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-05/0.3067, allocations: 35.83 kB / 1.226 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007916/0.3075, allocations: 478.6 kB / 1.227 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3076, allocations: 4 kB / 1.227 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3076, allocations: 8 kB / 1.227 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3076, allocations: 0 / 1.227 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.3091, allocations: 0.9901 MB / 1.228 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3091, allocations: 4 kB / 1.228 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.3092, allocations: 35.92 kB / 1.228 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003865/0.3096, allocations: 147.6 kB / 1.228 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.3097, allocations: 12 kB / 1.228 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/0.3123, allocations: 4.151 MB / 1.232 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3123, allocations: 4.094 kB / 1.232 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007421/0.313, allocations: 0.6215 MB / 1.232 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.3132, allocations: 128.7 kB / 1.233 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.3132, allocations: 8 kB / 1.233 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.3135, allocations: 19.97 kB / 1.233 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.3135, allocations: 27.92 kB / 1.233 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.3135, allocations: 8 kB / 1.233 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001324/0.3137, allocations: 157.5 kB / 1.233 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3137, allocations: 0 / 1.233 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005105/0.3142, allocations: 92 kB / 1.233 GB, free: 14.54 MB / 0.9981 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.001099/0.3153, allocations: 1.191 MB / 1.234 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009931/0.3163, allocations: 0.5874 MB / 1.235 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.3163, allocations: 4 kB / 1.235 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005142/0.3169, allocations: 399.7 kB / 1.235 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.3174, allocations: 39.97 kB / 1.235 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.3215, allocations: 3.337 MB / 1.238 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.3219, allocations: 0.7792 MB / 1.239 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.3221, allocations: 58.23 kB / 1.239 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.3222, allocations: 75.41 kB / 1.239 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.3222, allocations: 0 / 1.239 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06489/0.3871, allocations: 6.806 MB / 1.246 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.85, allocations: 6.188 kB / 1.246 GB, free: 1.078 MB / 0.9981 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