Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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: 152 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.002014/0.002014, allocations: 196.6 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.477/2.477, allocations: 437 MB / 0.7104 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 67.89 kB / 0.8693 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5479/0.5493, allocations: 151.6 MB / 1.017 GB, free: 2.559 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005683/0.555, allocations: 4.851 MB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003601/0.5587, allocations: 2.455 MB / 1.025 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004271/0.5591, allocations: 27.75 kB / 1.025 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.5604, allocations: 401.9 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.5615, allocations: 433.7 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008113/0.5623, allocations: 384.3 kB / 1.026 GB, free: 10 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009978/0.5633, allocations: 0.9096 MB / 1.027 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005209/0.5639, allocations: 356.7 kB / 1.027 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.5643, allocations: 330.7 kB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004617/0.5648, allocations: 350.5 kB / 1.028 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.815e-05/0.5649, allocations: 39.94 kB / 1.028 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000643/0.5655, allocations: 403.1 kB / 1.028 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.5657, allocations: 179.5 kB / 1.028 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003173/0.566, allocations: 322.2 kB / 1.029 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009317/0.567, allocations: 0.8643 MB / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.567, allocations: 0 / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.292e-06/0.567, allocations: 0 / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.609e-05/0.567, allocations: 0 / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001349/0.5684, allocations: 0.9386 MB / 1.03 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.5684, allocations: 15.97 kB / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.33e-05/0.5685, allocations: 90.69 kB / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.5697, allocations: 211.7 kB / 1.031 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006038/0.5703, allocations: 486.4 kB / 1.031 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.5704, allocations: 37.36 kB / 1.031 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-05/0.5704, allocations: 44.36 kB / 1.031 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000929/0.5714, allocations: 0.8446 MB / 1.032 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.5714, allocations: 7.938 kB / 1.032 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.5715, allocations: 20 kB / 1.032 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-05/0.5716, allocations: 64.95 kB / 1.032 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007549/0.5723, allocations: 0.5695 MB / 1.033 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003791/0.5761, allocations: 5.658 MB / 1.038 GB, free: 12.68 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.5767, allocations: 470.1 kB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.577, allocations: 233.2 kB / 1.039 GB, free: 11.98 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.577, allocations: 3.984 kB / 1.039 GB, free: 11.98 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.577, allocations: 34.56 kB / 1.039 GB, free: 11.93 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 1.393e-06/0.577, allocations: 0 / 1.039 GB, free: 11.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002237/0.5793, allocations: 1.497 MB / 1.04 GB, free: 10.32 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.5793, allocations: 55.69 kB / 1.04 GB, free: 10.25 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.5798, allocations: 0.4949 MB / 1.041 GB, free: 9.746 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.5798, allocations: 29.7 kB / 1.041 GB, free: 9.711 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.58, allocations: 350.8 kB / 1.041 GB, free: 9.363 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.867e-05/0.5801, allocations: 122.4 kB / 1.041 GB, free: 9.242 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.5802, allocations: 106.2 kB / 1.041 GB, free: 9.133 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5803, allocations: 366.8 kB / 1.042 GB, free: 8.766 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.5806, allocations: 193.2 kB / 1.042 GB, free: 8.574 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.581, allocations: 451.3 kB / 1.042 GB, free: 8.02 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006947/0.5817, allocations: 0.6915 MB / 1.043 GB, free: 7.211 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5817, allocations: 4 kB / 1.043 GB, free: 7.207 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001126/0.5828, allocations: 0.8014 MB / 1.044 GB, free: 6.383 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5828, allocations: 12 kB / 1.044 GB, free: 6.371 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.5829, allocations: 12 kB / 1.044 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.5833, allocations: 160.5 kB / 1.044 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.5837, allocations: 123.8 kB / 1.044 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/0.5865, allocations: 4.336 MB / 1.048 GB, free: 1.312 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.5869, allocations: 32.12 kB / 1.048 GB, free: 1.281 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.5869, allocations: 32 kB / 1.048 GB, free: 1.25 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.5871, allocations: 221.4 kB / 1.049 GB, free: 1.023 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.18e-05/0.5872, allocations: 59.25 kB / 1.049 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008868/0.5881, allocations: 0.601 MB / 1.049 GB, free: 352 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5881, allocations: 7.938 kB / 1.049 GB, free: 344 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.5881, allocations: 4 kB / 1.049 GB, free: 340 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5881, allocations: 0 / 1.049 GB, free: 340 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.5897, allocations: 1.266 MB / 1.051 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5897, allocations: 0 / 1.051 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.5899, allocations: 51.95 kB / 1.051 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000358/0.5903, allocations: 144.3 kB / 1.051 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.5904, allocations: 15.92 kB / 1.051 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002673/0.593, allocations: 4.325 MB / 1.055 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/0.5931, allocations: 16.12 kB / 1.055 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008436/0.5939, allocations: 0.7037 MB / 1.056 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.5941, allocations: 172.2 kB / 1.056 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.5942, allocations: 8 kB / 1.056 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.5944, allocations: 23.97 kB / 1.056 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.5945, allocations: 39.89 kB / 1.056 GB, free: 8.977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.5945, allocations: 15.94 kB / 1.056 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002924/0.5948, allocations: 326.9 kB / 1.056 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.5948, allocations: 0 / 1.056 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005309/0.5953, allocations: 140 kB / 1.056 GB, free: 8.508 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001087/0.5964, allocations: 1.262 MB / 1.058 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.5977, allocations: 1.079 MB / 1.059 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5977, allocations: 0 / 1.059 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007272/0.5984, allocations: 0.7359 MB / 1.059 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008853/0.5993, allocations: 209 kB / 1.06 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005317/0.6047, allocations: 5.2 MB / 1.065 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.6051, allocations: 0.9097 MB / 1.066 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003099/0.6054, allocations: 117.3 kB / 1.066 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.6056, allocations: 195.4 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of SimCode: time 5.91e-07/0.6056, allocations: 0 / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.832/3.438, allocations: 12.53 MB / 1.078 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/15.31, allocations: 15.5 kB / 1.078 GB, free: 1.863 MB / 0.8262 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches