Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.001081/0.001081, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005371/0.005371, allocations: 170 kB / 16.26 MB, free: 6.613 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.234/1.234, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.46/2.46, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002904, allocations: 12.25 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2322, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009873/0.2421, allocations: 10.38 MB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009696/0.2519, allocations: 8.668 MB / 1.077 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004214/0.2523, allocations: 55.62 kB / 1.077 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005363/0.2528, allocations: 277.8 kB / 1.078 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002314/0.2552, allocations: 1.401 MB / 1.079 GB, free: 24 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.2562, allocations: 0.6044 MB / 1.08 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002166/0.2584, allocations: 2.906 MB / 1.082 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00261/0.261, allocations: 1.953 MB / 1.084 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008582/0.2619, allocations: 0.8206 MB / 1.085 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009501/0.2628, allocations: 0.9453 MB / 1.086 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.263, allocations: 60 kB / 1.086 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.2641, allocations: 0.885 MB / 1.087 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000373/0.2645, allocations: 482.4 kB / 1.088 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006108/0.2651, allocations: 0.8019 MB / 1.088 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.267, allocations: 2.483 MB / 1.091 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.267, allocations: 4 kB / 1.091 GB, free: 4 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.373e-06/0.267, allocations: 0 / 1.091 GB, free: 4 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.267, allocations: 0 / 1.091 GB, free: 4 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.00233/0.2694, allocations: 1.71 MB / 1.092 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2694, allocations: 19.95 kB / 1.092 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001938/0.2696, allocations: 182.1 kB / 1.093 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.2804, allocations: 2.12 MB / 1.095 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.2819, allocations: 1.122 MB / 1.096 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.524e-05/0.282, allocations: 86.69 kB / 1.096 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.2822, allocations: 115.9 kB / 1.096 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004865/0.2871, allocations: 2.506 MB / 1.098 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.2871, allocations: 11.84 kB / 1.098 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.2873, allocations: 55.98 kB / 1.098 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003125/0.2876, allocations: 126.1 kB / 1.099 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006886/0.2945, allocations: 2.592 MB / 1.101 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/0.3056, allocations: 10.11 MB / 1.111 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006102/0.3117, allocations: 2.007 MB / 1.113 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00269/0.3144, allocations: 0.9916 MB / 1.114 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.3145, allocations: 4.438 kB / 1.114 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.3145, allocations: 42.94 kB / 1.114 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=53): time 1.773e-06/0.3145, allocations: 4 kB / 1.114 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of matching and sorting (n=81): time 0.02916/0.3437, allocations: 8.773 MB / 1.123 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.3437, allocations: 64 kB / 1.123 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.3448, allocations: 1.097 MB / 1.124 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.02e-05/0.3449, allocations: 45.7 kB / 1.124 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004539/0.3454, allocations: 0.7379 MB / 1.124 GB, free: 408 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.3456, allocations: 276 kB / 1.125 GB, free: 128 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.3458, allocations: 85.61 kB / 1.125 GB, free: 36 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3459, allocations: 338 kB / 1.125 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002875/0.3488, allocations: 1.098 MB / 1.126 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002996/0.3518, allocations: 1.321 MB / 1.127 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005903/0.3577, allocations: 2.421 MB / 1.13 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3577, allocations: 4 kB / 1.13 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008366/0.3661, allocations: 3.316 MB / 1.133 GB, free: 7.312 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3661, allocations: 12.16 kB / 1.133 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3661, allocations: 11.94 kB / 1.133 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/0.3686, allocations: 0.7833 MB / 1.134 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/0.3705, allocations: 431.2 kB / 1.134 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/0.3839, allocations: 14.71 MB / 1.149 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.3859, allocations: 299.6 kB / 1.149 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.386, allocations: 51.97 kB / 1.149 GB, free: 5.93 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005573/0.3866, allocations: 401.4 kB / 1.149 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.3868, allocations: 146.2 kB / 1.149 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008614/0.3954, allocations: 3.245 MB / 1.153 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.3954, allocations: 8 kB / 1.153 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.3954, allocations: 8 kB / 1.153 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3954, allocations: 3.984 kB / 1.153 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/0.4058, allocations: 4.956 MB / 1.158 GB, free: 12.99 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4058, allocations: 4 kB / 1.158 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001625/0.4074, allocations: 363.3 kB / 1.158 GB, free: 12.63 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002144/0.4096, allocations: 0.6936 MB / 1.159 GB, free: 11.91 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-05/0.4097, allocations: 27.97 kB / 1.159 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01264/0.4223, allocations: 14.35 MB / 1.173 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.4223, allocations: 7.938 kB / 1.173 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007662/0.43, allocations: 3.081 MB / 1.176 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005281/0.4306, allocations: 383.1 kB / 1.176 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.4307, allocations: 16 kB / 1.176 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/0.4326, allocations: 307.5 kB / 1.176 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.4327, allocations: 80.55 kB / 1.176 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-05/0.4328, allocations: 39.97 kB / 1.176 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008155/0.4337, allocations: 0.7443 MB / 1.177 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4337, allocations: 0 / 1.177 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001099/0.4348, allocations: 432 kB / 1.178 GB, free: 7.309 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007976/0.4427, allocations: 3.659 MB / 1.181 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.007873/0.4506, allocations: 3.656 MB / 1.185 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4507, allocations: 0 / 1.185 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004637/0.4553, allocations: 2.387 MB / 1.187 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.4576, allocations: 496.7 kB / 1.187 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03242/0.4901, allocations: 17.28 MB / 1.204 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009002/0.491, allocations: 1.388 MB / 1.206 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001346/0.4923, allocations: 379.9 kB / 1.206 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007631/0.4931, allocations: 0.5969 MB / 1.207 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.4931, allocations: 4 kB / 1.207 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.085/3.578, allocations: 39.54 MB / 1.245 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/3.579, allocations: 228.5 kB / 1.245 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.899/6.477, allocations: 4.062 kB / 1.245 GB, free: 1.289 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches