Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_11_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.001262/0.001262, allocations: 108 kB / 15.6 MB, free: 132 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.001123/0.001123, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.563/2.563, allocations: 469.8 MB / 0.7424 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 64.02 kB / 0.9087 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2525, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006253/0.2588, allocations: 4.863 MB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003621/0.2624, allocations: 2.451 MB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.2626, allocations: 23.81 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.2637, allocations: 398.8 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007594/0.2644, allocations: 441.6 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006983/0.2652, allocations: 381.9 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008336/0.266, allocations: 0.9135 MB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004668/0.2665, allocations: 346.8 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003596/0.2668, allocations: 350.6 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003903/0.2672, allocations: 342.5 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.11e-05/0.2673, allocations: 40 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000573/0.2679, allocations: 391.1 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.2681, allocations: 183.4 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.2684, allocations: 322.2 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008578/0.2692, allocations: 0.8759 MB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2692, allocations: 0 / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2692, allocations: 0 / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.2693, allocations: 0 / 1.076 GB, free: 1.867 MB / 0.8262 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.001263/0.2705, allocations: 0.9385 MB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.2706, allocations: 8.031 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.983e-05/0.2707, allocations: 102.7 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.2718, allocations: 195.9 kB / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.2725, allocations: 494.3 kB / 1.078 GB, free: 52 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.2725, allocations: 33.36 kB / 1.078 GB, free: 20 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.542e-05/0.2726, allocations: 52.36 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.2736, allocations: 0.8483 MB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.2737, allocations: 7.938 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.497e-05/0.2737, allocations: 20 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-05/0.2738, allocations: 68.95 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008144/0.2746, allocations: 0.5578 MB / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00442/0.279, allocations: 5.654 MB / 1.085 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/0.2797, allocations: 454.3 kB / 1.085 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.28, allocations: 224.7 kB / 1.085 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.28, allocations: 0.5312 kB / 1.085 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.2801, allocations: 46.55 kB / 1.085 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 3.076e-06/0.2801, allocations: 3.984 kB / 1.085 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002454/0.2825, allocations: 1.511 MB / 1.087 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.2826, allocations: 55.69 kB / 1.087 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004922/0.2831, allocations: 499 kB / 1.087 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.2831, allocations: 29.7 kB / 1.088 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.2834, allocations: 350.8 kB / 1.088 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.996e-05/0.2835, allocations: 130.3 kB / 1.088 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.2836, allocations: 110.2 kB / 1.088 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2838, allocations: 362.8 kB / 1.088 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.2841, allocations: 201.1 kB / 1.089 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/0.2846, allocations: 447.3 kB / 1.089 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008557/0.2854, allocations: 0.6913 MB / 1.09 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2854, allocations: 4 kB / 1.09 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001232/0.2867, allocations: 0.7982 MB / 1.091 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2867, allocations: 16.05 kB / 1.091 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.2867, allocations: 12 kB / 1.091 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004506/0.2872, allocations: 156 kB / 1.091 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.2876, allocations: 123.8 kB / 1.091 GB, free: 1.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003406/0.291, allocations: 4.347 MB / 1.095 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.2914, allocations: 35.97 kB / 1.095 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.2914, allocations: 28 kB / 1.095 GB, free: 12.84 MB / 0.8575 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.0002459/0.2917, allocations: 216.1 kB / 1.095 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.233e-05/0.2918, allocations: 55.34 kB / 1.095 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009873/0.2927, allocations: 0.6006 MB / 1.096 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2928, allocations: 0 / 1.096 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2928, allocations: 7.984 kB / 1.096 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2928, allocations: 4 kB / 1.096 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.2945, allocations: 1.259 MB / 1.097 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2945, allocations: 0 / 1.097 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.2948, allocations: 59.89 kB / 1.097 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003772/0.2952, allocations: 136.2 kB / 1.097 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.2952, allocations: 20.06 kB / 1.097 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003341/0.2985, allocations: 4.329 MB / 1.102 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2986, allocations: 4 kB / 1.102 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009754/0.2995, allocations: 0.7004 MB / 1.102 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.2998, allocations: 172.3 kB / 1.102 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.2998, allocations: 8 kB / 1.102 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.3001, allocations: 23.97 kB / 1.103 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.3001, allocations: 35.84 kB / 1.103 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.3002, allocations: 8 kB / 1.103 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003447/0.3005, allocations: 334.8 kB / 1.103 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3005, allocations: 0 / 1.103 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005769/0.3011, allocations: 144 kB / 1.103 GB, free: 4.113 MB / 0.8575 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.001244/0.3024, allocations: 1.266 MB / 1.104 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.3038, allocations: 1.076 MB / 1.105 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3038, allocations: 0 / 1.105 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000812/0.3046, allocations: 0.7392 MB / 1.106 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009183/0.3055, allocations: 205 kB / 1.106 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005925/0.3115, allocations: 5.203 MB / 1.111 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.312, allocations: 0.8941 MB / 1.112 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003066/0.3123, allocations: 125.3 kB / 1.112 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.3125, allocations: 191.4 kB / 1.112 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.3125, allocations: 0 / 1.112 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.011/3.324, allocations: 12.54 MB / 1.125 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/15.82, allocations: 11.98 kB / 1.125 GB, free: 13.47 MB / 0.8887 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches