Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.00644/0.00644, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001634/0.001634, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.593/2.593, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 71.88 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2862, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.5839/0.8702, allocations: 37.95 MB / 1.257 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.8861, allocations: 10.99 MB / 1.268 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003728/0.8898, allocations: 156.6 kB / 1.268 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009412/0.8993, allocations: 4.357 MB / 1.272 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00666/0.906, allocations: 2.217 MB / 1.275 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005636/0.9116, allocations: 2.163 MB / 1.277 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01314/0.9248, allocations: 9.289 MB / 1.286 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/0.9385, allocations: 11.28 MB / 1.297 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009469/0.948, allocations: 3.993 MB / 1.301 GB, free: 13.25 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008444/0.9565, allocations: 4.512 MB / 1.305 GB, free: 11.3 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002038/0.9585, allocations: 0.8225 MB / 1.306 GB, free: 11.3 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004353/0.9629, allocations: 1.581 MB / 1.307 GB, free: 11.01 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004051/0.967, allocations: 3.153 MB / 1.31 GB, free: 9.68 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.007469/0.9744, allocations: 3.663 MB / 1.314 GB, free: 7.332 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01699/0.9915, allocations: 12.34 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9915, allocations: 1.156 kB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9915, allocations: 0 / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002891/0.9918, allocations: 0 / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01559/1.007, allocations: 6.472 MB / 1.332 GB, free: 13.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/1.007, allocations: 10.19 kB / 1.332 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00153/1.009, allocations: 0.8327 MB / 1.333 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005168/1.014, allocations: 1.097 MB / 1.334 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007533/1.022, allocations: 3.626 MB / 1.338 GB, free: 9.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003591/1.022, allocations: 424.1 kB / 1.338 GB, free: 9.559 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001591/1.024, allocations: 0.5453 MB / 1.339 GB, free: 9.371 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01925/1.043, allocations: 9.378 MB / 1.348 GB, free: 3.625 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/1.043, allocations: 19.28 kB / 1.348 GB, free: 3.613 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006194/1.044, allocations: 249.2 kB / 1.348 GB, free: 3.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000498/1.044, allocations: 425.8 kB / 1.349 GB, free: 3.324 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/1.056, allocations: 7.117 MB / 1.356 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04472/1.101, allocations: 41.08 MB / 1.396 GB, free: 0.6484 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005418/1.106, allocations: 3.104 MB / 1.399 GB, free: 13.53 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002862/1.109, allocations: 2.149 MB / 1.401 GB, free: 11.38 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/1.109, allocations: 25.94 kB / 1.401 GB, free: 11.36 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/1.109, allocations: 64.56 kB / 1.401 GB, free: 11.29 MB / 1.092 GB Notification: Performance of pre-optimization done (n=209): time 3.206e-06/1.109, allocations: 3.938 kB / 1.401 GB, free: 11.28 MB / 1.092 GB Notification: Performance of matching and sorting (n=212): time 0.02379/1.133, allocations: 10.63 MB / 1.411 GB, free: 0.5625 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/1.133, allocations: 77.34 kB / 1.411 GB, free: 484 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002565/1.136, allocations: 2.01 MB / 1.413 GB, free: 14.44 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/1.136, allocations: 65.7 kB / 1.413 GB, free: 14.37 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001685/1.138, allocations: 2.478 MB / 1.416 GB, free: 11.87 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006219/1.138, allocations: 0.763 MB / 1.417 GB, free: 11.1 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007317/1.139, allocations: 485.5 kB / 1.417 GB, free: 10.62 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.139, allocations: 301.1 kB / 1.417 GB, free: 10.32 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/1.141, allocations: 1.372 MB / 1.419 GB, free: 8.949 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002437/1.144, allocations: 2.1 MB / 1.421 GB, free: 6.539 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004677/1.148, allocations: 3.77 MB / 1.424 GB, free: 2.457 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/1.148, allocations: 11.94 kB / 1.424 GB, free: 2.445 MB / 1.107 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00797/1.156, allocations: 5.082 MB / 1.429 GB, free: 13.34 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/1.156, allocations: 12 kB / 1.429 GB, free: 13.32 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/1.156, allocations: 24 kB / 1.429 GB, free: 13.3 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003422/1.16, allocations: 1.586 MB / 1.431 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/1.161, allocations: 459.2 kB / 1.431 GB, free: 11.26 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02402/1.185, allocations: 18.58 MB / 1.45 GB, free: 8.121 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/1.187, allocations: 147.9 kB / 1.45 GB, free: 7.977 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/1.188, allocations: 116 kB / 1.45 GB, free: 7.863 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003141/1.191, allocations: 1.933 MB / 1.452 GB, free: 5.918 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004193/1.191, allocations: 302.2 kB / 1.452 GB, free: 5.621 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006945/1.198, allocations: 4.455 MB / 1.456 GB, free: 1.137 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/1.198, allocations: 24 kB / 1.456 GB, free: 1.113 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/1.198, allocations: 16 kB / 1.456 GB, free: 1.098 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/1.198, allocations: 11.97 kB / 1.456 GB, free: 1.086 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/1.212, allocations: 9.664 MB / 1.466 GB, free: 7.273 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.212, allocations: 4 kB / 1.466 GB, free: 7.27 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009381/1.213, allocations: 232.2 kB / 1.466 GB, free: 7.043 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003086/1.216, allocations: 1.433 MB / 1.467 GB, free: 5.602 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/1.217, allocations: 40 kB / 1.467 GB, free: 5.562 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02183/1.238, allocations: 18.58 MB / 1.486 GB, free: 2.418 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.238, allocations: 4 kB / 1.486 GB, free: 2.414 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006727/1.245, allocations: 4.561 MB / 1.49 GB, free: 13.77 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/1.246, allocations: 0.6513 MB / 1.491 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/1.247, allocations: 36 kB / 1.491 GB, free: 13.06 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.248, allocations: 119.9 kB / 1.491 GB, free: 12.94 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003678/1.248, allocations: 177.6 kB / 1.491 GB, free: 12.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/1.248, allocations: 60 kB / 1.491 GB, free: 12.71 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00229/1.251, allocations: 1.315 MB / 1.492 GB, free: 11.39 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.505e-06/1.251, allocations: 4 kB / 1.492 GB, free: 11.38 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00383/1.254, allocations: 1.144 MB / 1.493 GB, free: 10.24 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006877/1.261, allocations: 5.169 MB / 1.499 GB, free: 4.969 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.006736/1.268, allocations: 4.743 MB / 1.503 GB, free: 192 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/1.268, allocations: 3.938 kB / 1.503 GB, free: 188 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.004215/1.272, allocations: 2.925 MB / 1.506 GB, free: 13.2 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/1.275, allocations: 0.8874 MB / 1.507 GB, free: 12.33 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04415/1.32, allocations: 30.54 MB / 1.537 GB, free: 12.58 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005698/1.325, allocations: 3.69 MB / 1.54 GB, free: 8.852 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001773/1.327, allocations: 0.5556 MB / 1.541 GB, free: 8.289 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002235/1.329, allocations: 1.952 MB / 1.543 GB, free: 6.336 MB / 1.232 GB Notification: Performance of SimCode: time 6.71e-07/1.329, allocations: 0 / 1.543 GB, free: 6.336 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 18.64/19.97, allocations: 85.27 MB / 1.626 GB, free: 2.016 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 24/43.98, allocations: 5.531 kB / 1.626 GB, free: 2.016 MB / 1.311 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches